problem 17
add problem 18 and 67, since they were similar