GolfScript: problem 6

That was incredibly easy