4.43 - really couldn't figure out how to write this solution.

Stole it from the interweb.