Russian IMO Team Selection Test 2017.
Print the paper
Problem 3
Komal A. 683 based on a problem of the Miklós Schweitzer competition