Bending Spoons interview question

Guessing games; maths and logic questions.