Akash Jain's submission of CARDS | CodeChef