The PDF version of this problem can be downloaded here.
2 1 1 ababa aba 1 1 4 2 a aa aaa aaaa a 3 3 aa 1 4
2 3 6
Migrated from old NTUJ.
eddy