Pergunta de entrevista da empresa Software AG

balls, trains and some maths puzzles