시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 (추가 시간 없음) 1024 MB18013511576.667%

문제

This is not a problem about Brexit. Or at least not about the social or economic implications of Brexit. Instead, we -- the Grammatical Correctness Policing Committee (GCPC) -- want to focus exclusively on the linguistic challenges posed by this combination of the words "Britain" and the noun "exit". We are very concerned about the ambiguity of this construction. When using the term Brexit, it is not clear at all whether it is supposed to refer to to Great Britain or Brazil. Or perhaps Bremen leaving the Bundesliga.

And it's not just Brexit, you might also have heard of "Megxit" (having to do something with the British royal family) and similar constructions.

Looking ahead, we want to avoid a similar disaster in the future. For that purpose we, as a European agency with German roots, would like to implement some standardisation. We have focused on the act of entering. If a subject (a person, an organization, a plant, etc. ) enters (or possibly reenters) something, our leading linguistic scientists suggest we look for the last vowel in the subjects name (a, e, i, o and u are considered vowels). We cut off any letters after this last vowel and add the ending ntry instead. Here are some examples:

  • If Britain were to reenter the European Union, we would call it "Britaintry"1.
  • If Canada were to enter, say, the NWERC region, that would be a "Canadantry".
  • And whenever a person named "Paul" enters someplace, we clearly have a "Pauntry".

Given a subject's name, determine how the act of entering should be called for this subject.


1We are convinced this is going to happen, because Brexit must have been such a joy for the people of Britain (otherwise, their political leaders certainly would not have taken this step). When something brings so much joy to everybody, you want to repeat it. But to repeat Brexit, there has to be Britaintry first!

입력

The input consists of:

  • One line with a string $s$ ($1 \le |s| \le 50$), the name of the subject. This name can refer to any person, animal, country, organization, etc.

All characters in $s$ are uppercase letters A-Z or lowercase letters a-z. The first letter may be uppercase or lowercase, all other letters are lowercase. $s$ will contain at least one lowercase vowel.

출력

Output one single word, the term for the act of the subject entering.

예제 입력 1

Britain

예제 출력 1

Britaintry

예제 입력 2

Canada

예제 출력 2

Canadantry

예제 입력 3

Paul

예제 출력 3

Pauntry

출처

ICPC > Regionals > Europe > Northwestern European Regional Contest > German Collegiate Programming Contest > GCPC 2021 B번

  • 문제를 만든 사람: Gregor Matl