Cs problem 21