Function composition is beautiful - thanks, Jason, for pointing me to this one.

Did it with .NET - YAPES: Problem Six