electicode
HomeCoursesResourcesProblemsNational OlympiadContestsLeaderboard
...

Antiqa globus

Time Limit: 1000msMemory Limit: 256MB
View Submissions

Problem Description

Sevinch, who successfully passed to the next stage of the EGOI selection, decided to reward herself with a trip. However, she quickly abandoned this idea because she remembered that she had to go to school every day.

Instead, she decided to study the globe to explore the Earth. Since her globe was small, the names on it were written in a shortened form.

The shortening algorithm is as follows: only consonant letters from the actual name are kept. In this problem, you will be given a place name, and you must determine how it would appear on the globe.

Vowels are defined as the letters AEUIOYaeuioy.

Input Format

A single line contains a string of length less than 2×1052 \times 10^52×105.

It is guaranteed that the input string consists only of letters from the English alphabet.

Output Format

Print the answer to the problem in a single line.

Scoring

SubtaskAdditional ConstraintsPointsRequired Subtask
000Tests from the example000-
111There is not a single vowel in the country name272727-

Examples

Example 1
Input
Turkey
Output
Trk
Example 2
Input
Tokyo
Output
Tk
Example 3
Input
PARIS
Output
PRS
Example 4
Input
LisBon
Output
LsBn
Example 5
Input
Helsinki
Output
Hlsnk

© 2026 Electicode. All rights reserved.

222
No additional constraints
737373
-