problem 119 AC