#0001DA

Telefon

Mirko and Slavko often talk on phone. Sometimes during the conversation Slavko wish to tell Mirko a number of a third person, which then Mirko writes on a piece of paper. Slavko will tell the number as a string. Once while they were playing, Slavko noticed that Mirko is always writing the numbers in the same form, he writes stripes in the same places. Later when Slavko was telling the number to Mirko, he told him: "I know exactly how you will write that number". Write a program which determines how Mirko has writen the code on the paper, if the form in which he writes down the numbers and digits is known.



InputThe first line contains a string that represents the form in which Mirko writes the numbers. The string will contain a maximum of 20 characters, each character will be either a small letter 'x' or dash '-'. Each character 'x' represents one digit. The second line contains the series of digits that Slavko told, without spaces. The number of digits in the phone number will always be equal as the number of 'x' in the default number format.


OutputIn the first line of the output write the number in the format that Mirko wrote on the paper.


Input: xxxx-xxx
4846370

Output:4846-370

Submit solution

Coming later

The grading service will be connected in a later migration step. You can inspect the task and your previous results now.