#abc344a. A - Spoiler

A - Spoiler

Score: 150150 points

问题描述

你将获得一个由小写英文字母和|组成的字符串 SS。可以确保 SS 中恰好包含两个 |

移除两个|之间的所有字符,包括这两个|自身,并输出得到的字符串。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given a string SS consisting of lowercase English letters and |. SS is guaranteed to contain exactly two |s.

Remove the characters between the two |s, including the |s themselves, and print the resulting string.

Constraints

  • SS is a string of length between 22 and 100100, inclusive, consisting of lowercase English letters and |.
  • SS contains exactly two |s.

Input

The input is given from Standard Input in the following format:

SS

Output

Print the answer.

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