Problem 18

One of my favorite ones.