Limits 1s, 512 MB

Write a regular expression that will match texts like “Hello {X}” and only output “{X}” (w/o quotes).

If a match is not possible, the output should be empty.

Input

The input will contain a single line of string with at most 20 characters.

Output

If the input matches “Hello {X}”, then print “{X}” (w/o quotes). Otherwise leave the output empty.

Samples

InputOutput
Hello Regexp
Regexp
InputOutput
Nyan Cat

Submit

Login to submit.

Statistics

89% Solution Ratio
jackal_1586Earliest, Jan '23
jackal_1586Fastest, 0.0s
nusuBotLightest, 4.9 MB
jackal_1586Shortest, 10B
Toph uses cookies. By continuing you agree to our Cookie Policy.