problem 112 AC