charles problem 1