a nice math olympiad question

join shbcf.ru