Mr. Manners teaches netiquette ("net etiquette", especially as it applies to email) at the local community college. Proper netiquette has many aspects, including courtesy, correct spelling, and correct grammar. From experience, Mr. Manners has found that his college's email system already catches most spelling and grammatical errors, and that most of his students are courteous. So he pays careful attention to four specific violations of netiquette, and he has a quick way to test for them.
A message is suspicious if it contains any of the following:
a, A, or I (you might be abbreviating words, and the spell checker does not catch this);" (you might be using an emoticon such as :-)).All characters in a message are printable ASCII characters with codes in the range 32..126 (inclusive). A punctuation mark is any character other than a letter, a digit, or a space. Two characters are adjacent if they are right next to each other, with no character in between. An isolated character is one whose only adjacent characters (if any) are spaces. Write a program that decides whether a one-line email message is suspicious.
The input consists of one or more email messages, followed by a line containing only # that marks the end of the input. Each message is on a line by itself, does not begin or end with a space, and does not contain two consecutive spaces. End-of-line characters end every line but are not considered part of the message. Each message contains between 1 and 80 characters.
For each message, print suspicious if it meets one or more of the four criteria above, and print OK otherwise.