F#
Uploaded avatar of Gimly

Gimly's solution
Reputation4