Awesome PRIME

0

0 votes
Easy
Problem

Given a number, if the number is prime and has 1 in its decimal's place, print AWEOMSE else print NOT AWESOME.

Time Limit: 5
Memory Limit: 256
Source Limit:
Explanation

When 11 is passed as input, the output will be AWESOME. As, 11 is a prime number and have 1 in its ones place.

Editor Image

?