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