题目描述
Problem Statement
You are given a string S consisting of lowercase English letters and |. S is guaranteed to contain exactly two |s.
Remove the characters between the two |s, including the |s themselves, and print the resulting string.
Input
The input is given from Standard Input in the following format:
S
Output
Print the answer.
Constraints
- S is a string of length between 2 and 100, inclusive, consisting of lowercase English letters and |.
- S contains exactly two |s.
Sample Input 1
atcoder|beginner|contest
Sample Output 1
atcodercontest
Remove all the characters between the two |s and print the result.
Sample Input 2
|spoiler|
Sample Output 2
It is possible that all characters are removed.
Sample Input 3
||xyz
Sample Output 3
xyz
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分
样例输入
atcoder|beginner|contest
样例输出
atcodercontest