The output for the problem is nondeterministic. The output for line 1 is correct to within 1 year.