Can you solve this olympiad problem?