Checkio Task "Spaceship Purchase"