Z06 unemployment problem(ICPC-2 Rubric)