Andrey's submission of Function Function | CodeChef