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.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

public class ProblemC {
	
	static int[] dx = {1, 0, -1, 0};
	static int[] dy = {0, 1, 0, -1};

	public static void main(String[] args) throws IOException {
		BufferedReader s = new BufferedReader(new InputStreamReader(System.in));
		PrintWriter out = new PrintWriter(System.out);

		String[] line = s.readLine().split(" ");
		int n = Integer.valueOf(line[0]);
		int m = Integer.valueOf(line[1]);
		int a = Integer.valueOf(line[2]);
		int b = Integer.valueOf(line[3]);
		int c = Integer.valueOf(line[4]);
		
		int[][] ret = solve(n, m, a, b, c);
		if (ret == null) {
			out.println("IMPOSSIBLE");
		} else {
			char[][] map = paint(ret);
			for (char[] cl : map) {
				for (char ch : cl) {
					out.print(ch);
				}
				out.println();
			}
		}
		out.flush();
	}

	private static char[][] paint(int[][] ret) {
		int n = ret.length;
		int m = ret[0].length;
		char[][] map = new char[n][m];
		for (int i = 0 ; i < n ; i++) {
			for (int j = 0 ; j < m ; j++) {
				if (ret[i][j] >= 1) {
					int cntX = (j < m - 1 && ret[i][j+1] == ret[i][j]) ? 1 : 0;
					int cntY = (i < n - 1 && ret[i+1][j] == ret[i][j]) ? 1 : 0;
					List<Integer> chkX = new ArrayList<Integer>();
					List<Integer> chkY = new ArrayList<Integer>();
					if (cntX + cntY == 2) {
						chkX.add(j);
						chkY.add(i);
						chkX.add(j+1);
						chkY.add(i);
						chkX.add(j);
						chkY.add(i+1);
						chkX.add(j+1);
						chkY.add(i+1);
					} else if (cntX == 1) {
						chkX.add(j);
						chkY.add(i);
						chkX.add(j+1);
						chkY.add(i);
					} else {
						chkX.add(j);
						chkY.add(i);
						chkX.add(j);
						chkY.add(i+1);
					}
					int l = chkX.size();
					boolean[] used = new boolean[512];
					for (int a = 0 ; a < l ; a++) {
						int x = chkX.get(a);
						int y = chkY.get(a);
						for (int d = 0 ; d < 4 ; d++) {
							int tx = x + dx[d];
							int ty = y + dy[d];
							if (tx < 0 || ty < 0 || tx >= m || ty >= n) {
								continue;
							}
							used[map[ty][tx]] = true;
						}
					}
					for (char c = 'a' ; c <= 'z' ; c++) {
						if (!used[c]) {
							for (int a = 0 ; a < l ; a++) {
								int x = chkX.get(a);
								int y = chkY.get(a);
								ret[y][x] = 0;
								map[y][x] = c;
							}
							break;
						}
					}
				}
			}
		}
		return map;
	}

	private static int[][] solve(int n, int m, int a, int b, int c) {
		if ((n * m > a * 2 + b * 2 + c * 4) || (n * m) % 2 == 1) {
			return null;
		} else {
			int[][] map = new int[n][m];
			if (n % 2 == 1) {
				if (m / 2 > a) {
					return null;
				}
				int[][] f = fill(n - 1, m, a - m/2, b, c);
				if (f == null) {
					return null;
				}
				int maxnum = 0;
				for (int i = 0 ; i < n - 1 ; i++) {
					for (int j = 0 ; j < m ; j++) {
						map[i][j] = f[i][j];
						maxnum = Math.max(maxnum, f[i][j]);
					}
				}
				for (int j = 0 ; j < m ; j += 2) {
					maxnum++;
					map[n-1][j] = map[n-1][j+1] = maxnum;
				}
			} else if (m % 2 == 1) {
				if (n / 2 > b) {
					return null;
				}
				int[][] f = fill(n, m - 1, a, b - n / 2, c);
				if (f == null) {
					return null;
				}
				int maxnum = 0;
				for (int i = 0 ; i < n ; i++) {
					for (int j = 0 ; j < m - 1 ; j++) {
						map[i][j] = f[i][j];
						maxnum = Math.max(maxnum, f[i][j]);
					}
				}
				for (int i = 0 ; i < n ; i += 2) {
					maxnum++;
					map[i][m-1] = map[i+1][m-1] = maxnum;
				}
			} else {
				map = fill(n, m, a, b, c); 
			}
			return map;
		}
	}

	private static int[][] fill(int n, int m, int a, int b, int c) {
		int[][] ret = new int[n][m];
		int num = 0;
		for (int i = 0 ; i < n ; i += 2) {
			for (int j = 0 ; j < m ; j += 2) {
				if (c >= 1) {
					num++;
					ret[i][j] = ret[i+1][j] = ret[i][j+1] = ret[i+1][j+1] = num;
					c--;
				} else if (a >= 2) {
					num++;
					ret[i][j] = ret[i][j+1]= num;
					num++;
					ret[i+1][j] = ret[i+1][j+1] = num;
					a-= 2;
				} else if (b >= 2) {
					num++;
					ret[i][j] = ret[i+1][j]= num;
					num++;
					ret[i][j+1] = ret[i+1][j+1] = num;
					b -= 2;
				} else {
					return null;
				}
			}
		}
		return ret;
	}

	public static void debug(Object... os){
		System.err.println(Arrays.deepToString(os));
	}
}