problem 83 AC with another solution!