Given:
The two numbers are


To find:
The highest common factor (HCF) of A and B
Solution:
We have,
...(i)

All the factors of A are prime but the factors of B are not prime. So, it can be written as
...(ii)
From (i) and (ii), it is clear that 3 is the only common factor of A and B. So,

Therefore, the highest common factor (HCF) of A and B is 3.