problem 79 AC