write P for prime numbers and C for composite​