Devesh Agarwal's submission of Min Max LCM | CodeChef