matH olympiad problem