0
New to this site, I came straight to this question as I was concerned that code golf was a thin veneer over answer my homework please.
Now I see that those sort of questions will be jumped on by a bunch of elitist asshole alpha-nerds assisted by cruel instinct that can smell homework questions...