The PDF version of this problem can be downloaded here.
3 3 -1 1 10 2 1000000000 -1000000000 5 1 2 6 7 8
2 0 2
Migrated from old NTUJ.