Problem: Once Bob decided to lay a parquet floor in his living room. The living room is of size n × m metres. Bob had planks of three types: a planks 1 × 2 meters, b planks 2 × 1 meters, and c planks 2 × 2 meters. Help Bob find out, if it is possible to parquet the living room with such a set of planks, and if it is possible, find one of the possible ways to do so. Bob doesn't have to use all the planks.

Input

The first input line contains 5 space-separated integer numbers n, m, a, b, c (1 ≤ n, m ≤ 100, 0 ≤ a, b, c ≤ 104), n and m — the living room dimensions, a, b and c — amount of planks 1 × 2, 2 × 1 и 2 × 2 respectively. It's not allowed to turn the planks.

Output

If it is not possible to parquet the room with such a set of planks, output IMPOSSIBLE. Otherwise output one of the possible ways to parquet the room — output n lines with m lower-case Latin letters each. Two squares with common sides should contain the same letters, if they belong to one and the same plank, and different letters otherwise. Different planks can be marked with one and the same letter (see examples). If the answer is not unique, output any.

Examples

Input

2 6 2 2 1


Output

aabcca
aabdda


Input

1 1 100 100 100


Output

IMPOSSIBLE


Input

4 4 10 10 10


Output

aabb
aabb
bbaa
bbaa

Solution (in JAVA):

Solution:

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Random;
import java.util.StringTokenizer;

public class Problem {
	public static String alpha = "abcdefghijklmnopqrstuvwxyz";
	public static String IMP = "IMPOSSIBLE";
	public static char[][] board;
	public static int n,m,a,b,c;
	public static int[][] dx = {{0,0}, {0,1}, {0,1,0,1}};
	public static int[][] dy = {{0,1}, {0,0}, {0,0,1,1}};
	public static int[] ddx = {0,1,0,-1};
	public static int[] ddy = {1,0,-1,0};
	public static void main(String[] arg) {
		FastScanner scan = new FastScanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
		 n = scan.nextInt();
		 m = scan.nextInt();
		 a = scan.nextInt();
		 b = scan.nextInt();
		 c = scan.nextInt();
//		Random r = new Random();
//		for(int step = 0; step < 100; step++){
//		n = r.nextInt(9) + 1;
//		m = r.nextInt(9) + 1;
//		a = r.nextInt(20);
//		b = r.nextInt(20);
//		c = r.nextInt(20);
//			
//		System.out.println(n + " " + m + " " + a + " " + b + " " + c);
		
		board = new char[n][m];
		for(int i = 0; i < n; i++)
			for(int j = 0; j < m; j++)
				board[i][j] = '.';
		if(n % 2 == 1 && m % 2 == 1){
			System.out.println(IMP);
		} else if(n % 2 == 1 && m % 2 == 0){
			if(m > 2 * a){
				System.out.println(IMP);
			} else {
				for(int j = 0; j < m; j += 2){
					put(0, j, 0);
				}
				if(a % 2 == 1) a--;
				if(b % 2 == 1) b--;
				if(((n - 1) * m) > (a * 2 + b * 2 + 4 * c)){
					System.out.println(IMP);
				} else {
					p(1, 0);
				}
			}
		} else if(n % 2 == 0 && m % 2 == 1){
			if(n > 2 * b){
				System.out.println(IMP);
			} else {
				for(int i = 0; i < n; i += 2){
					put(i,0,1);
				}
				if(a % 2 == 1) a--;
				if(b % 2 == 1) b--;
				if(n * (m - 1) > (a * 2 + b * 2 + c * 4)){
					System.out.println(IMP);
				} else {
					p(0, 1);
				}
			}
		} else {
			if(a % 2 == 1) a--;
			if(b % 2 == 1) b--;
			if(n * m > (a * 2 + b * 2 + c * 4)){
				System.out.println(IMP);
			} else {
				p(0,0);
			}
//		}
		}
		out.close();
	}
	public static void p(int nn, int mm){
		for(int i = nn; i < n; i += 2){
			for(int j = mm; j < m; j += 2){
				if(c > 0) put(i,j,2);
				else if(a > 1) {
					put(i,j,0);
					put(i+1,j,0);
				} else if(b > 1){
					put(i,j,1);
					put(i,j+1,1);
				}
			}
		}
		for(int i = 0; i < n; i++){
			for(int j = 0; j < m; j++){
				System.out.print(board[i][j]);
			}
			System.out.println();
		}
	}
	public static boolean in(int i, int j){
		return (0 <= i && i < n) && (0 <= j && j < m);
	}
	public static boolean can(int i, int j, int type){
		for(int s = 0; s < dx[type].length; s++){
			int ni = i + dx[type][s];
			int nj = j + dy[type][s];
			if(!in(ni,nj)) return false;
		}
		return true;
	}
	public static void put(int i, int j, int type){
		int aidx = 0;
		char ch = 'a';
		while(true){
			boolean find = false;
			for(int s = 0; s < dx[type].length; s++){
				int ni = i + dx[type][s];
				int nj = j + dy[type][s];
				if(!in(ni,nj)) continue;
				
				for(int p = 0; p < 4; p++){
					int nni = ni + ddx[p];
					int nnj = nj + ddy[p];
					if(in(nni,nnj)){
						if(board[nni][nnj] == ch){
							find = true;
							break;
						}
					}
				}
				if(find) break;
			}
			if(!find) break;
			aidx = (aidx + 1) % alpha.length();
			ch = alpha.charAt(aidx);
		}
		for(int s = 0; s < dx[type].length; s++){
			int ni = i + dx[type][s];
			int nj = j + dy[type][s];
			board[ni][nj] = ch;
		}
		if(type == 0) a--;
		else if(type == 1) b--;
		else if(type == 2) c--;
	}
	static class FastScanner {
		BufferedReader br;
		StringTokenizer st;

		FastScanner(InputStream is) {
			try {
				br = new BufferedReader(new InputStreamReader(is));
			} catch (Exception e) {
				e.printStackTrace();
			}
		}

		String next() {
			while (st == null || !st.hasMoreTokens()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (Exception e) {
					return null;
				}
			}
			return st.nextToken();
		}

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

		long nextLong() {
			return Long.parseLong(next());
		}

		double nextDouble() {
			return Double.valueOf(next());
		}
	}
}