problems 31, 32, 33, 34