Bui Nguyen Ngoc Thang's submission of GCD and LCM | CodeChef