Ambesh Tiwari's submission of From Zero to Infinity | CodeChef