Problems

Age
Difficulty
Found: 72

Janine and Zahara each thought of a natural number and said them to Alex. Alex wrote the sum of the thought of numbers onto one sheet of paper, and on the other – their product, after which one of the sheets was hidden, and the other (on it was written the number of 2002) was shown to Janine and Zahara. Seeing this number, Janine said that she did not know what number Zahara had thought of. Hearing this, Zahara said that she did not know what number Janine had thought of. What was the number which Zahara had thought of?

On a table there are 2022 cards with the numbers 1, 2, 3, ..., 2022. Two players take one card in turn. After all the cards are taken, the winner is the one who has a greater last digit of the sum of the numbers on the cards taken. Find out which of the players can always win regardless of the opponent’s strategy, and also explain how he should go about playing.