Vineet Kumar's submission of RD-CODE | CodeChef