Solution for the GoEuro test.