#298. withoutX2

withoutX2

Background

Description

Given a string, if one or both of the first 2 chars is 'x', return the string without those 'x' chars, and otherwise return the string unchanged. This is a little harder than it looks.

Format

Input

Output

Samples

xHi
"Hi"
Hxi
"Hi"
Hi
"Hi"

Limitation

1s, 1024KiB for each test case.