#K62647. Language Detection Stream

    ID: 31578 Type: Default 1000ms 256MiB

Language Detection Stream

Language Detection Stream

You are given a stream of words. Each word is provided in a separate line. The stream terminates when the word "END" is encountered. For every word before "END", determine if it is written in English.

A word is considered English if and only if all of its characters are English letters. In other words, for a word w with characters c, the word is English if:

[ \forall c \in w,; c \in {a, b, \dots, z, A, B, \dots, Z} ]

Otherwise, the word is Not English.

Note: The check is case-insensitive. You need to process each word until you encounter the string "END". Do not process the word "END".

inputFormat

The input consists of multiple lines. Each line contains a single word. The input is terminated by a line containing the word "END".

outputFormat

For each word before the termination word, output a line containing either "English" or "Not English", based on whether the word contains only English letters.

## sample
hello
こんにちは
world
你好
END
English

Not English English Not English

</p>