Samarth Agarwal's submission of Expected Greatest Common Divisor | CodeChef