vishal sharma's submission of Eugene and function | CodeChef