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.io.*;
import static java.lang.Double.max;
import static java.lang.Math.pow;
import java.util.*;
public class Kaudo {
static int ans,k,max=9999999;
static StringBuilder Sd=new StringBuilder();
static FastReader in=new FastReader();
    public static void main(String[] args) {
       char []S=in.next().toCharArray(),So=in.next().toCharArray();
       int []a=new int [26],b=new int[26],c=new int[26];
       for(int i=0;i<S.length;i++)if(S[i]!='?')a[S[i]-'a']++;
       for(int i=0;i<So.length;i++){b[So[i]-'a']++;}
       for(int i=0;i<26;i++)if(b[i]!=0)c[i]=a[i]/b[i];else c[i]=999999999;
       int n=S.length;
       for(int u=0;u<n;u++){max=9999999;
           if(S[u]=='?'&&k<=0){
       for(int i=0;i<26;i++){
       if(c[i]<=max){max=c[i];k=b[i]-(a[i]%b[i]);ans=i;}}
         c[ans]++;
           }
       if(S[u]=='?'){k--;Sd.append((char)(ans+'a')); a[ans]++;}
       else Sd.append(S[u]);}
        System.out.println(Sd);}
     
}
class Sorting{
    int x[],noro[],n,max;
    boolean a[],b[],c[];
Sorting (int []x,int n,int max){this.x=x;this.n=n;this.max=max;
noro=new int[max+2];
a=new boolean[max/10+2];
b=new boolean[max/100+2];
c=new boolean[max/1000+2];
nor();}
void nor(){
for(int i=0;i<n;i++){noro[x[i]]++;
a[x[i]/10]=true;
b[x[i]/100]=true;
c[x[i]/1000]=true;}

}
int[] sort(){
    int []v=new int [n];
    int q=0;
    for(int i=0;i<=(max/1000);i++){
        if(c[i])
    for(int u=i*10;u<=(i*10)+10;u++){
        if(u>=b.length)break;
        if(b[u])
    for(int o=u*10;o<=((u*10)+10);o++){
       
        if(o>=a.length)break;
        if(a[o])
    for(int p=o*10;p<=(o*10)+10;p++){
        while(noro[p]-->0){v[q]=p;q++;}if(q==n)return v;}
    
    }
    }
    }
    return v;
}
}

 
 
 
 
class FastReader
    {
        BufferedReader br;
        StringTokenizer st;
 
        public FastReader()
        {
            br = new BufferedReader(new
                     InputStreamReader(System.in));
        }
 
        String next()
        {
            while (st == null || !st.hasMoreElements())
            {
                try
                {
                    st = new StringTokenizer(br.readLine());
                }
                catch (IOException  e)
                {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }
 
        int nextInt()
        {
            return Integer.parseInt(next());
        }
 
        long nextLong()
        {
            return Long.parseLong(next());
        }
 
        double nextDouble()
        {
            return Double.parseDouble(next());
        }
 
        String nextLine()
        {
            String str = "";
            try
            {
                str = br.readLine();
            }
            catch (IOException e)
            {
                e.printStackTrace();
            }
            return str;
        }
}