Function beautiful problem did you solve this mathsolympiad