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

85% Solution Ratio
jackal_1586Earliest, 1M ago
jackal_1586Fastest, 0.0s
mumith_fahim99Lightest, 5.7 MB
jackal_1586Shortest, 10B
Toph uses cookies. By continuing you agree to our Cookie Policy.