vishal sharma's submission of GCD2 | CodeChef