Trying to solve prob 66.