{"trustable":false,"sections":[{"title":"","value":{"format":"MD","content":"A prime number is a number that can only be divided evenly only by one and itself. Some examples of prime numbers include 1, 2, 3, 5, 17, 101, and 10007.\n\nYour task is to read a collection of words, each of which consists only of letters ranging from a to z and A to Z. Each letter has a numerical value; the letter \"a\" is worth 1, \"b\" is worth 2, and so forth, up to \"z,\" which is worth 26. Similarly, the letter \"A\" is worth 27, \"B\" is worth 28, and \"Z\" is worth 52.\n\nYour program must determine whether a given word is a \"prime word\" or not. A word is considered to be prime if the sum of the numerical values of its letters is a prime number."}},{"title":"Input","value":{"format":"MD","content":"The input is a collection of words, each consisting of L letters where 1 ≤ L ≤ 20, and each word is on a separate line. The input terminates when the end of file (EOF) is reached."}},{"title":"Output","value":{"format":"MD","content":"Program output should state \"It is a prime word\" if the sum of a word\u0027s letters is prime, and \"It is not a prime word\" otherwise."}},{"title":"Sample Input","value":{"format":"MD","content":"UFRN\ncontest\nAcM"}},{"title":"Sample Output","value":{"format":"MD","content":"It is a prime word.\nIt is not a prime word.\nIt is not a prime word."}}]}