problem 129 AC