shivam gor's submission of Martingale | CodeChef