JAY KUMAR's submission of Average Flex | CodeChef