Solve problems 82 and 83