If the LCM of a and 18 is 36 and the HCF of a and 18 is 2, then a = (a) 2 (b) 3 (c) 4 (d) 1