Nikolay Domashenko's submission of Average Flex | CodeChef