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.BigDecimal;
import java.math.BigInteger;

public class tr0 {
	static PrintWriter out;
	static StringBuilder sb;
	static int mod = 1000000007;
	static int inf = (int) 1e16;
	static ArrayList<Integer>[] ad;
	static int n, m;
	static long[][] memo, c;
	static HashSet<Integer> h;
	static int[] ans;

	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		out = new PrintWriter(System.out);
		String s = sc.nextLine();
		String t = sc.nextLine();
		int[] os = new int[26];
		int[] ot = new int[26];
		int si = 0;
		TreeSet<pair> ts = new TreeSet<>();
		for (int i = 0; i < s.length(); i++)
			if (s.charAt(i) == '?')
				si++;
			else {
				ts.add(new pair(i + 1, s.charAt(i)));
				ot[s.charAt(i) - 'a']++;
			}
		
		sb = new StringBuilder().append(s);
		// System.out.println(ts);
		all: while (si > 0) {
			for (int i = 0; i < t.length(); i++) {
				// System.out.println(i + " " + ts.ceiling(new pair(0, t.charAt(i))));
				if (ot[t.charAt(i) - 'a'] != 0)
					ot[t.charAt(i) - 'a']--;
				else if (si == 0)
					break all;
				else {
					si--;
					os[t.charAt(i) - 'a']++;
				}
			}
			// System.out.println(ts + " " + si);
		}
	//	System.out.println(Arrays.toString(os));
		for (int i = 0; i < sb.length(); i++) {
			if (sb.charAt(i) == '?') {
				int id = 0;
				for (int j = 0; j < 26; j++) {
					if (os[j] != 0) {
						os[j]--;
						id = j;
						break;
					}
				}
				sb.setCharAt(i, (char) (id + 'a'));
			}
		//	System.out.println(sb);
			//System.out.println(Arrays.toString(os));
		}
		System.out.println(sb.toString());
		out.close();
	}

	static class pair implements Comparable<pair> {
		int to;
		int number;
		char k;

		pair(int t, char g) {
			to = t;
			k = g;
		}

		public String toString() {
			return to + " " + number + " " + k;
		}

		@Override
		public int compareTo(pair o) {
			if (Character.compare(k, o.k) == 0)
				return to - o.to;
			return Character.compare(o.k, k);
		}

	}

	static class Scanner {
		StringTokenizer st;
		BufferedReader br;

		public Scanner(InputStream system) {
			br = new BufferedReader(new InputStreamReader(system));
		}

		public Scanner(String file) throws Exception {
			br = new BufferedReader(new FileReader(file));
		}

		public String next() throws IOException {
			while (st == null || !st.hasMoreTokens())
				st = new StringTokenizer(br.readLine());
			return st.nextToken();
		}

		public String nextLine() throws IOException {
			return br.readLine();
		}

		public int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		public double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}

		public char nextChar() throws IOException {
			return next().charAt(0);
		}

		public Long nextLong() throws IOException {
			return Long.parseLong(next());
		}

		public int[] nextArrInt(int n) throws IOException {
			int[] a = new int[n];
			for (int i = 0; i < n; i++)
				a[i] = nextInt();
			return a;
		}

		public long[] nextArrLong(int n) throws IOException {
			long[] a = new long[n];
			for (int i = 0; i < n; i++)
				a[i] = nextInt();
			return a;
		}

		public boolean ready() throws IOException {
			return br.ready();
		}

		public void waitForInput() throws InterruptedException {
			Thread.sleep(3000);
		}
	}
}