Problem 67: initial commit

(port of Problem 18)