math's submission of LCM equation | CodeChef