Exercism IO exercise