The PDF version of this problem can be downloaded here.
5 1 2 3 4 5
1 2 5 14 42
Migrated from old NTUJ.
eddy