The LCM and HCF of the two numbers are 180 and 6, respectively. If one of the numbers is 30, find the other number.