The PDF version of this problem can be downloaded here.
2 2 2 2 2 2 1
YES NO
Migrated from old NTUJ.
2013 ACM Arab Collegiate Programming Contest