Shreyash Gupta's submission of Weird Spider | CodeChef