n = int(input('Enter A Number: '))

def findFactors(num):
    arr = []
    for x in range(1, n + 1 ,1):
        if num % x ==  0:
         arr.append(x)
    return arr
    
if len(findFactors(n)) == 2: # Array will have 1 and the number itself
    print(f"{n} Is Prime.")
else :
    print(f"{n} Is Composite")
n = int(input('Enter A Number: '))

def findFactors(num):
    arr = []
    for x in range(1, n + 1 ,1):
        if num % x ==  0:
         arr.append(x)
    return arr
    
if len(findFactors(n)) == 2: # Array will have 1 and the number itself
    print(f"{n} Is Prime.")
else :
    print(f"{n} Is Composite")
# Array will have 1 and the number itself