QOJ.ac

QOJ

حد الوقت: 1 s حد الذاكرة: 1024 MB مجموع النقاط: 100 قابلة للهجوم ✓

#18388. A sport that combines Taekwondo and boxing

الإحصائيات

Tae Bo is a workout that combines Taekwondo and boxing!

TAE BO DIET, 2003

Kuong watched Tae Bo and thought, "If Taekwondo and boxing combined make Tae Bo, then do archery and powerlifting combine to make 'Arpo'? Maybe I should create a workout of my own!"

Combining the names of workout $A$ and workout $B$ creates a new workout name by concatenating the first syllable of $A$ and the first syllable of $B$. If the first syllable does not exist for either, a new workout name cannot be created.

The first syllable of a string is the longest prefix that includes the first vowel of the string and does not include any consonants that follow the first vowel. If there are no vowels, or if there are no consonants after the first vowel, the first syllable does not exist. The following are examples of first syllables for various strings:

  • taekwondo $\rightarrow$ tae
  • boxing $\rightarrow$ bo
  • tae has no consonants after the first vowel, so the first syllable does not exist.
  • ski has a vowel, but no consonants after the first vowel, so the first syllable does not exist.

Vowels are the five characters a, e, i, o, u, and consonants are all characters excluding these five.

Let's output the name of the new workout Kuong created.

Input

The first line contains the name of workout $A$, $S_A$ ($1 \le |S_A| \le 100$).

The second line contains the name of workout $B$, $S_B$ ($1 \le |S_B| \le 100$).

The names of the workouts consist only of lowercase English letters.

Output

Output the name of the new workout formed by combining the names of workout $A$ and workout $B$.

If it is impossible to create the workout name according to the given rules, output no such exercise instead.

Examples

Input 1

taekwondo
boxing

Output 1

taebo

Input 2

swimming
racing

Output 2

swira

Input 3

mtb
running

Output 3

no such exercise

Input 4

archery
powerlifting

Output 4

apo

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.