Obtain the HCF and LCM of 39, 117 and 585, using the prime factorisation method.
 
HCF of 39117 and 585 \(=\)
 
LCM of 39117 and 585 \(=\)