problem 123 AC