Mars interview question

nothing to hard