Determine all characters two words or two sentences have in common.

Input

Two lines of text (words or sentences).

Output

A line containing all characters that the two lines have in common. The same letter is only printed once. Uppercase and lowercase letters are considered to be different characters.

Tip

Gather the characters in a third string, and when you find a character that the two words have in common, check if it is already in the third string before reporting it.

Example

Input:

And now for something completely different.
Nobody expects the Spanish Inquisition!

Output:

nd osethicpy