Fixed problem 28, added 27, 29, and 30