problem 117 AC