Write p ifit is prime number and c if it is composite number​