Skip to main content

~/algor $ cat contests/round-5/D

D. Delete a letter

Problem D ICPC rules 1000 ms 128 MB

A string of lowercase Latin letters and a letter are given. Delete every letter from the string and print the result. If every letter is deleted, print an empty line.

Cutting the given character out of the string

Input

The first line contains the string , the second line a single letter .

Output

The resulting string on one line.

Note


consists of lowercase Latin letters (a–z) only
is a lowercase Latin letter

Examples

Input #1
banana
a
Output #1
bnn
Input #2
kitob
z
Output #2
kitob

Sign in to submit a solution

Signing up is free and takes a minute.