A beautiful international math olympiad problem