Sergey's submission of Warriors | CodeChef