Problem: You are given two strings s and t consisting of small Latin letters, string s can also contain '?' characters. 

Suitability of string s is calculated by following metric:

Any two letters can be swapped positions, these operations can be performed arbitrary number of times over any pair of positions. Among all resulting strings s, you choose the one with the largest number of non-intersecting occurrences of string t. Suitability is this number of occurrences.

You should replace all '?' characters with small Latin letters in such a way that the suitability of string s is maximal.

Input

The first line contains string s (1 ≤ |s| ≤ 106).

The second line contains string t (1 ≤ |t| ≤ 106).

Output

Print string s with '?' replaced with small Latin letters in such a way that suitability of that string is maximal.

If there are multiple strings with maximal suitability then print any of them.

Examples

Input

?aa?
ab


Output

baab


Input

??b?
za


Output

azbz


Input

abcd
abacaba


Output

abcd

Note

In the first example string "baab" can be transformed to "abab" with swaps, this one has suitability of 2. That means that string "baab" also has suitability of 2.

In the second example maximal suitability you can achieve is 1 and there are several dozens of such strings, "azbz" is just one of them.

In the third example there are no '?' characters and the suitability of the string is 0.

Solution (in JAVA):

Solution:
import java.util.*; 
import java.io.*;
import java.math.*;
import java.util.regex.*;

public class Main4
{ 	

	public static void main(String[] args)throws Exception
	{ 	
	    Reader reader = new Reader();

		reader.readLine();
		int special = 0;
		String s = reader.readString(0);
		int freq[][] = new int[4][26];
		for (char ch:s.toCharArray())
		{
			if (ch == '?')
				++special;
			else
				++freq[0][ch - 'a'];
		}

		reader.readLine();
		for (char ch:reader.readString(0).toCharArray())
		{
			++freq[1][ch - 'a'];
		}

		for (int i=0;i < 26;++i)
		{
			if (freq[0][i] >= freq[1][i])
			{
				freq[3][i] = freq[0][i] - freq[1][i];
				continue;
			}

			int need = freq[1][i] - freq[0][i];

			if (special >= need)
			{
				freq[2][i] += need;
				special -= need;
			}
			else
			{
				freq[2][i] += special;
				special = 0;
				break;
			}
		}

		while (special != 0)
			for (int i=0;i < 26 ;++i)
			{
				if (freq[3][i] > freq[1][i])
				{
					freq[3][i] -= freq[1][i];
					continue;
				}

				int need = freq[1][i] - freq[3][i];

				if (special >= need)
				{
					freq[2][i] += need;
					special -= need;
					freq[3][i] = 0;
				}
				else
				{
					freq[2][i] += special;
					special = 0;
					break;
				}
			}

		/*
		 System.out.println(Arrays.toString(freq[0]));
		 System.out.println(Arrays.toString(freq[1]));
		 System.out.println(Arrays.toString(freq[2]));
		 System.out.println(Arrays.toString(freq[3]));
		 */

		int stop = 0;
		char ans[] = s.toCharArray();
		for (int i=0;i < s.length();++i)
		{
			if (ans[i] == '?')
			{
				for (int k=stop;k < 26;++k)
					if (freq[2][k] != 0)
					{
						--freq[2][k];
						stop = k;
						ans[i] = (char)(k + 'a');
						break;
					}
			}
		}

		System.out.println(new String(ans));
		reader.close();
	}
}

class Reader
{     
    private BufferedReader reader; 
    private String line[];     

    public Reader()     
    {         
        reader = new BufferedReader(new InputStreamReader(System.in));     
    }     

    public String[] getLine()     
    {         
        return line;     
    }     

    public boolean readLine()     throws IOException 
    {         
        String str = reader.readLine();
        if (str == null || str.isEmpty())
            return false;
        line = line = str.split(" ");
        return true;
    }    

    public List<Integer> getIntegersList()
    {
        List<Integer> res = new ArrayList<>();
        for (String str:line)
            res.add(Integer.parseInt(str));
        return res;

    }

	public List<Long> getLongsList()
    {
        List<Long> res = new ArrayList<>();
        for (String str:line)
            res.add(Long.parseLong(str));
        return res;

    }

    public int readInt(int pos)throws IOException     
    {         
        return Integer.parseInt(line[pos]);     
    }     

    public double readDouble(int pos)throws IOException     
    {         
        return Double.parseDouble(line[pos]);     
    }     

    public long readLong(int pos)throws IOException 
    {         
        return Long.parseLong(line[pos]); 
    }     

    public String readString(int pos)throws IOException     
    {         
        return line[pos];     
    }     

    public void close()throws IOException 
    {         
        reader.close();     
    }
}