icpc 1016 trying