Which numbers between 1 to 10 are prime numbers and which are composite numbers?

2,3,5,7 are prime numbers. 4,6,8,9,10 are composite numbers.