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.*;
import java.util.*;

public class Template implements Runnable {

    BufferedReader in;
    PrintWriter out;
    StringTokenizer tok = new StringTokenizer("");

    void init() throws FileNotFoundException {
        try {
            in = new BufferedReader(new FileReader("input.txt"));
            out = new PrintWriter("output.txt");
        } catch (Exception e) {
            in = new BufferedReader(new InputStreamReader(System.in));
            out = new PrintWriter(System.out);
        }
    }

    String readString() throws IOException {
        while (!tok.hasMoreTokens()) {
            try {
                tok = new StringTokenizer(in.readLine(), " :");
            } catch (Exception e) {
                return null;
            }
        }
        return tok.nextToken();
    }

    int readInt() throws IOException {
        return Integer.parseInt(readString());
    }

    int[] readIntArray(int size) throws IOException {
        int[] res = new int[size];
        for (int i = 0; i < size; i++) {
            res[i] = readInt();
        }
        return res;
    }

    long readLong() throws IOException {
        return Long.parseLong(readString());
    }

    double readDouble() throws IOException {
        return Double.parseDouble(readString());
    }

    <T> List<T>[] createGraphList(int size) {
        List<T>[] list = new List[size];
        for (int i = 0; i < size; i++) {
            list[i] = new ArrayList<>();
        }
        return list;
    }

    public static void main(String[] args) {
        new Thread(null, new Template(), "", 1l * 200 * 1024 * 1024).start();
    }

    long timeBegin, timeEnd;

    void time() {
        timeEnd = System.currentTimeMillis();
        System.err.println("Time = " + (timeEnd - timeBegin));
    }

    long memoryTotal, memoryFree;

    void memory() {
        memoryFree = Runtime.getRuntime().freeMemory();
        System.err.println("Memory = " + ((memoryTotal - memoryFree) >> 10)
                + " KB");
    }

    public void run() {
        try {
            timeBegin = System.currentTimeMillis();
            memoryTotal = Runtime.getRuntime().freeMemory();
            init();
            solve();
            out.close();
            if (System.getProperty("ONLINE_JUDGE") == null) {
                time();
                memory();
            }
        } catch (Exception e) {
            e.printStackTrace();
            System.exit(-1);
        }
    }

    char getOther(Collection<Character> list) {
        for (char x = 'a'; ; x++) {
            boolean find = false;
            for (char y : list) {
                if (y == x) find = true;
            }
            if (!find) return x;
        }
    }

    void solve() throws IOException {
        int n = readInt();
        int m = readInt();

        int a = readInt();
        int b = readInt();
        int c = readInt();

        if ((n * m) % 2 == 1) {
            out.println("IMPOSSIBLE");
            return;
        }

        char[][] answer = new char[n][m];
        for (char[] x : answer) Arrays.fill(x, '.');
        if (n % 2 == 1) {
            if (m / 2 > a) {
                out.println("IMPOSSIBLE");
                return;
            }
            char t = 'x';
            for (int j = 0; j < m; j += 2) {
                answer[n - 1][j] = answer[n - 1][j + 1] = t;
                t = (char) ('x' + 'y' - t);
            }
            a -= m / 2;
        }

        if (m % 2 == 1) {
            if (n / 2 > b) {
                out.println("IMPOSSIBLE");
                return;
            }
            char t = 'x';
            for (int i = 0; i < n; i += 2) {
                answer[i][m - 1] = answer[i + 1][m - 1] = t;
                t = (char) ('x' + 'y' - t);
            }
            b -= n / 2;
        }

        for (int i = 0; i < n - 1; i += 2) {
            for (int j = 0; j < m - 1; j += 2) {
                ArrayList<Character> list = new ArrayList<>();
                if (i > 0) {
                    list.add(answer[i - 1][j]);
                    list.add(answer[i - 1][j + 1]);
                }
                if (j > 0) {
                    list.add(answer[i][j - 1]);
                    list.add(answer[i + 1][j - 1]);
                }

                if (c > 0) {
                    c--;
                    char color = getOther(list);
                    answer[i][j] = answer[i][j + 1] = answer[i + 1][j] = answer[i + 1][j + 1] = color;
                    continue;
                }
                if (a >= 2) {
                    char color = getOther(list);
                    list.add(color);
                    char color2 = getOther(list);

                    answer[i][j] = answer[i][j + 1] = color;
                    answer[i + 1][j] = answer[i + 1][j + 1] = color2;
                    a -= 2;
                    continue;
                }
                if (b >= 2) {
                    char color = getOther(list);
                    list.add(color);
                    char color2 = getOther(list);

                    answer[i + 1][j] = answer[i][j] = color;
                    answer[i + 1][j + 1] = answer[i][j + 1] = color2;
                    b -= 2;
                    continue;
                }

                out.println("IMPOSSIBLE");
                return;
            }
        }
        for (char[] x : answer) out.println(new String(x));


    }


}