Mr. Manners teaches netiquette ("net etiquette", particularly as it applies to email) at the local community college. There are many different aspects to proper netiquette, including courtesy, correct spelling, and correct grammar. Through experience Mr. Manners has found that his college's email system does a good job of catching most spelling and grammatical errors, and he's also found that most of his students are courteous. So there are four violations of netiquette that Mr. Manners pays careful attention to, and he's devised a quick way to test for them. A message is suspicious if it contains any of the following:
- two adjacent uppercase letters,
(because you might be SHOUTING)
- a digit adjacent to a letter,
(because you might be l33t, d00d)
- an isolated character other than a, A, or I,
(because u r probably abbreviating words; the spell checker doesn't catch this for some reason)
- two adjacent punctuation marks, unless one of them is a double quote (the character ").
(because you might be using an emoticon :-)
For this problem, all characters in an email message are printable ASCII characters with codes in the range 32..126 (inclusive). A punctuation mark is any character other than a letter, digit, or space. Two characters are adjacent if they are right next to each other, with no characters in between. An isolated character is one whose only adjacent characters (if any) are spaces. Your job is to write a program that can tell if a one-line email message is suspicious.