What is the greatest common factor of the smallest prime number and the smallest composite number?

What is the greatest common factor of the smallest prime number and the smallest composite number?

Answer: 2
I wish you success in your studies