#C5394. Prime Sum Check
Prime Sum Check
Prime Sum Check
You are given two integers Y and B. Your task is to determine whether the sum \( Y + B \) is a prime number. A prime number is defined as a natural number greater than 1 that has no positive divisors other than 1 and itself.
For example, if \( Y = 11 \) and \( B = 12 \), then their sum is \( 23 \), which is prime. However, if \( Y = 5 \) and \( B = 4 \), the sum is \( 9 \), which is not prime.
inputFormat
The input is read from standard input and consists of two integers, Y and B, separated by spaces.
outputFormat
Print 'Prime' if the sum of Y and B is a prime number; otherwise, print 'Not Prime'. The output should be sent to standard output.## sample
5 4
Not Prime