St Andrews Online Judge

What is Missing

By Kay Akashi

Time: 1000 ms
Memory: 256000 kB

The code judging system is only available during contests. Check out the github repo for test cases and solutions.

Please log in.

Problem Statement

Given two strings ss and tt, report what letters tt should be supplemented with so that tt can be identical to ss by arranging the letters in tt appropriately.

Note that, both ss and tt consist of only small Latin letters.

It is guaranteed that the answer exists.

In the first example, if you re-arrange tt and makes it "chch" and compares it with ss, "church", you can notice that 11 "u" and 11 "r" are missing. Because "r" is lexicographically smaller than "u", the answer should be in the order shown in the example output.

In the second example, you don't need to re-arrange tt, but all vowels are missing: 11 "o", 33 "i"s, and 22 "a"s.

Constraints

Lengths of ss and tt never exceed 10610^{6}.

Input

The first line of input contains a string ss. The second line of input contains a string tt.

Output

In each line, output the missing letter and its number, separated by a single space. Letters should be in lexicographically increasing order.

Examples

Input

church
cchh

Output

r 1
u 1

Input

koichiakashi
kchksh

Output

a 2
i 3
o 1