spaceship-problem