previous years papers on lcm and hcf