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.*;
import static java.lang.Math.*;

public class Solution {

    BufferedReader in;
    PrintWriter out;
    StringTokenizer st;

    int color;

    void setC(int[][] v, int x, int y) {
        v[x][y] = color;
        v[x + 1][y] = color;
        v[x + 1][y + 1] = color;
        v[x][y + 1] = color;
        ++color;
    }

    void setA(int[][] v, int x, int y) {
        v[x][y] = color;
        v[x][y + 1] = color;
        v[x + 1][y] = ++color;
        v[x + 1][y + 1] = color;
        ++color;
    }

    void setB(int[][] v, int x, int y) {
        v[x][y] = color;
        v[x + 1][y] = color;
        v[x + 1][y + 1] = ++color;
        v[x][y + 1] = color;
        ++color;
    }

    void Assert(boolean a) {
        if (!a)
            throw new AssertionError();
    }

    void solve() throws IOException {
        int n = ni(), m = ni(), a = ni(), b = ni(), c = ni();
        int[][] v = new int[n][m];
        color = 1;
        if ((n & 1) == 1 && (m & 1) == 1) {
            out.println("IMPOSSIBLE");
            return;
        }
        if ((m & 1) == 1) {
            for (int i = 0; i < n; i += 2) {
                v[i][m - 1] = color;
                v[i + 1][m - 1] = color;
                ++color;
            }
            --m;
            b -= (n >> 1);
        }
        if ((n & 1) == 1) {
            for (int i = 0; i < m; i += 2) {
                v[n - 1][i] = color;
                v[n - 1][i + 1] = color;
                ++color;
            }
            --n;
            a -= (m >> 1);
        }
        if (a < 0 || b < 0) {
            out.println("IMPOSSIBLE");
            return;
        }
        a >>= 1;
        b >>= 1;
        if (c * 4 + a * 4 + b * 4 < n * m) {
            out.println("IMPOSSIBLE");
            return;
        }
        for (int i = 0; i < n; ++i)
            for (int j = 0; j < m; ++j) {
                if (v[i][j] != 0)
                    continue;
                if (c > 0) {
                    setC(v, i, j);
                    --c;
                } else if (a > 0) {
                    setA(v, i, j);
                    --a;
                } else {
                    setB(v, i, j);
                    --b;
                }
            }
        char letter = 'a';
        HashMap<Integer, Character> map = new HashMap<Integer, Character>();
        char[][] ret = new char[v.length][v[0].length];
        for (int i = 0; i < ret.length; i++)
            for (int j = 0; j < ret[i].length; j++) {
                ret[i][j] = ' ';
            }
        for (int i = 0; i < ret.length; i++) {
            for (int j = 0; j < ret[i].length; j++) {
                if (ret[i][j] == ' ') {
                    while (true) {
                        boolean ok = true;
                        if (i > 0)
                            ok &= ret[i - 1][j] != letter;
                        if (j > 0)
                            ok &= ret[i][j - 1] != letter;
                        if (j < ret[i].length - 1 && i > 0)
                            ok &= ret[i - 1][j + 1] != letter;
                        if (i + 1 < ret.length && j > 0)
                            ok &= ret[i + 1][j - 1] != letter;
                        if (ok)
                            break;
                        letter++;
                        if (letter > 'z')
                            letter = 'a';
                    }
                    // letter = (char) ((i * 3 + j * 7) % 26 + 'a');
                    int cur = v[i][j];
                    ret[i][j] = letter;
                    if (i + 1 < v.length && v[i + 1][j] == cur)
                        ret[i + 1][j] = letter;
                    if (j + 1 < v[i].length && v[i][j + 1] == cur)
                        ret[i][j + 1] = letter;
                    if (i + 1 < v.length && j + 1 < v[i].length
                            && v[i + 1][j + 1] == cur)
                        ret[i + 1][j + 1] = letter;
                    letter++;
                    if (letter > 'z')
                        letter = 'a';
                }
            }
        }
        for (int i = 0; i < ret.length; i++) {
            for (int j = 0; j < ret[i].length; j++) {
                out.print(ret[i][j]);
            }
            out.println();
        }
    }

    public Solution() throws IOException {
        Locale.setDefault(Locale.US);
        in = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(System.out);
        solve();
        in.close();
        out.close();
    }

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

    int ni() throws IOException {
        return Integer.valueOf(ns());
    }

    long nl() throws IOException {
        return Long.valueOf(ns());
    }

    double nd() throws IOException {
        return Double.valueOf(ns());
    }

    public static void main(String[] args) throws IOException {
        new Solution();
    }
}