Can you solve this math olympiad problem?