시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
---|---|---|---|---|---|
2 초 | 512 MB | 213 | 163 | 136 | 75.556% |
You would like to do some experiments in natural language processing. Natural language processing (NLP) involves using machines to recognize human languages.
Your first idea is to write a program that can distinguish English text from French text.
After some analysis, you have concluded that a very reasonable way of distinguishing these two languages is to compare the occurrences of the letters “t” and “T” to the occurrences of the letters “s” and “S”. Specifically:
The input will contain the number N (0 < N < 10000) followed by N lines of text, where each line has at least one character and no more than 100 characters.
Your output will be one line. This line will either consist of the word English
(indicating the text is probably English) or French
(indicating the text is probably French).
3 The red cat sat on the mat. Why are you so sad cat? Don’t ask that.
English
3 Lorsque j'avais six ans j'ai vu, une fois, une magnifique image, dans un livre
French