062. Delete Characters
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Given a string S and a list of characters C, print string S after removing all of the characters given in list C.

Input

The first line is the string S to be modified. The second line contains integer N, which is the number of different characters to be deleted. The following N lines contain the characters to be deleted.

Output

A single string S after deleting all of the characters that are given to be deleted.

Example
Input
howdy
2
w
y
Output
hod