Hide

Problem C
Ekki dauði opna inni

Languages en is
/problems/ekkidaudi/file/statement/en/img-0001.png
A lot of people write from left to right, but Ketill loves to write vertically. A consequence of this is that people tend to misread his writings. Ketill has decided to remedy this problem by writing a program that converts his writing to a more human readable format.

Input

The input consists of two lines. Each contains at most $2100$ characters and the character “|” denotes where Ketill starts writing on a new line.

Output

One line containing the writing of Ketill written from left to right.

Scoring

Group

Points

Constraints

1

50

There are no spaces in the input

2

50

No further constraints

Sample Input 1 Sample Output 1
ho|lo
pe|ve
hope love
Sample Input 2 Sample Output 2
ekki |daudi
opna| inni
ekki opna daudi inni
Sample Input 3 Sample Output 3
you |dont
matter| worry
you matter dont worry