Io day 2 problem 8 (no error checking!)