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

public class Main {
    static boolean LOCAL = false;//System.getSecurityManager() == null;
    Scanner sc = new Scanner(System.in);
    
    void run() {
        n = sc.nextInt();
        m = sc.nextInt();
        int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt();
        res = new char[n][m];
        if (solve(n, m, a, b, c)) {
            for (int i = 0; i < res.length; i++) {
                System.out.println(res[i]);
            }
        } else {
            System.out.println("IMPOSSIBLE");
        }
    }
    
    boolean solve(int n, int m, int a, int b, int c) {
        if (n % 2 != 0) {
            if (m % 2 != 0) return false;
            for (int i = 0; i < m; i += 2) {
                if (--a < 0) return false;
                put(n - 1, n - 1, i, i + 1);
            }
            n--;
        } else if (m % 2 != 0) {
            for (int i = 0; i < n; i += 2) {
                if (--b < 0) return false;
                put(i, i + 1, m - 1, m - 1);
            }
            m--;
        }
        for (int i = 0; i < n; i += 2) {
            for (int j = 0; j < m; j += 2) {
                if (a >= 2) {
                    a -= 2;
                    put(i, i, j, j + 1);
                    put(i + 1, i + 1, j, j + 1);
                } else if (b >= 2) {
                    b -= 2;
                    put(i, i + 1, j, j);
                    put(i, i + 1, j + 1, j + 1);
                } else if (c >= 1) {
                    c--;
                    put(i, i + 1, j, j + 1);
                } else {
                    return false;
                }
            }
        }
        return true;
    }
    
    int n, m;
    char[][] res;
    boolean[] used = new boolean[256];
    void put(int x1, int x2, int y1, int y2) {
        for (int i = 0; i < 26; i++) used['a' + i] = false;
        if (x1 - 1 >= 0) used[res[x1 - 1][y1]] = used[res[x1 - 1][y2]] = true;
        if (x2 + 1 < n) used[res[x2 + 1][y1]] = used[res[x2 + 1][y2]] = true;
        if (y1 - 1 >= 0) used[res[x1][y1 - 1]] = used[res[x2][y1 - 1]] = true;
        if (y2 + 1 < m) used[res[x1][y2 + 1]] = used[res[x2][y2 + 1]] = true;
        for (int i = 0; i < 26; i++) if (!used['a' + i]) {
            for (int x = x1; x <= x2; x++) {
                for (int y = y1; y <= y2; y++) {
                    res[x][y] = (char)('a' + i);
                }
            }
            return;
        }
        throw new RuntimeException();
    }
    
    class Scanner {
        BufferedReader br;
        StringTokenizer st;
        Scanner(InputStream in) {
            br = new BufferedReader(new InputStreamReader(in));
            eat("");
        }
        void eat(String s) {
            st = new StringTokenizer(s);
        }
        String nextLine() {
            try {
                return br.readLine();
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        boolean hasNext() {
            while (!st.hasMoreTokens()) {
                String s = nextLine();
                if (s == null) return false;
                eat(s);
            }
            return true;
        }
        String next() {
            hasNext();
            return st.nextToken();
        }
        int nextInt() {
            return Integer.parseInt(next());
        }
        long nextLong() {
            return Long.parseLong(next());
        }
        double nextDouble() {
            return Double.parseDouble(next());
        }
    }
    
    void debug(Object...os) {
        System.err.println(deepToString(os));
    }
    
    public static void main(String[] args) {
        if (LOCAL) {
            try {
                System.setIn(new FileInputStream("in.txt"));
            } catch (Throwable e) {
                LOCAL = false;
            }
        }
        if (!LOCAL) {
            try {
                System.setOut(new PrintStream(new BufferedOutputStream(System.out)));
            } catch (Throwable e) {
            }
        }
        new Main().run();
        System.out.flush();
    }
}