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 C{     
        
        private BufferedReader in;  
        private StringTokenizer st;
        
        char[][]g;
        void solve() throws IOException{
            
            int h = nextInt();
            int w = nextInt();
            int a = nextInt();
            int b = nextInt();
            int c = nextInt();
            g = new char[h][w];
            for (int i = 0; i < h; i++) {
                Arrays.fill(g[i], '.');
            }
            if(h%2!=0&&w%2!=0) {
                System.out.println("IMPOSSIBLE");
                return;
            }
            if(h%2==0&&w%2!=0){
                char ch = 'a';
                for (int i = 0; i < h; i+=2) {
                    if(b==0){
                        System.out.println("IMPOSSIBLE");
                        return;
                    }
                    g[i][0] = ch;
                    g[i+1][0] = ch;
                    ch = ch== 'a'?'b':'a';
                    b--;
                }
            }
            if(w%2==0&&h%2!=0){
                char ch = 'a';
                for (int i = 0; i < w; i+=2) {
                    if(a==0){
                        System.out.println("IMPOSSIBLE");
                        return;
                    }
                    g[0][i] = ch;
                    g[0][i+1] = ch;
                    ch = ch== 'a'?'b':'a';
                    a--;
                }
            }
            for (int i = 0; i < g.length; i++) {
                for (int j = 0; j < g[0].length; j++) {                 
                    if(g[i][j]=='.'){
                        
                        char ch = '.';
                                                
                        if(c>0){
                            for (int k = 'a'; k <= 'z'; k++) {
                                if(canTake(i, j, (char)k)&&canTake(i, j+1, (char)k)&&canTake(i+1, j, (char)k)&&canTake(i+1, j+1, (char)k)) {ch = (char)k; break;}
                            }
                            g[i][j] = g[i][j+1] = g[i+1][j] = g[i+1][j+1] = ch;
                            c--;
                        }
                        else if(a>1){
                            for (int k = 'a'; k <= 'z'; k++) {
                                if(canTake(i, j, (char)k)&&canTake(i, j+1,(char)k)) {ch = (char)k; break;}
                            }
                            g[i][j] = g[i][j+1] = ch;
                            for (int k = 'a'; k <= 'z'; k++) {
                                if(canTake(i+1, j, (char)k)&&canTake(i+1, j+1, (char)k)) {ch = (char)k; break;}
                            }
                            g[i+1][j] = g[i+1][j+1] = ch;
                            a-=2;
                        }
                        else if(b>1){               
                            for (int k = 'a'; k <= 'z'; k++) {
                                if(canTake(i, j, (char)k)&&canTake(i+1, j,(char)k)) {ch = (char)k; break;}
                            }
                            g[i][j] = g[i+1][j] =ch;
                            for (int k = 'a'; k <= 'z'; k++) {
                                if(canTake(i, j+1, (char)k)&&canTake(i+1, j+1, (char)k)) {ch = (char)k; break;}
                            }
                            g[i][j+1] = g[i+1][j+1] = ch;
                            b-=2;
                        }
                        else{
                            System.out.println("IMPOSSIBLE");
                            return;
                        }
                    }
                }
            }
            for (int i = 0; i < g.length; i++) {
                System.out.println(g[i]);
            }
            
        }
            
        boolean valid(int x,int y){
            
            return x>=0&&x<g.length&&y>=0&&y<g[0].length;
        }
        boolean canTake(int x,int y,char c){
            
            if(valid(x,y-1)&&g[x][y-1]==c) return false;
            if(valid(x,y+1)&&g[x][y+1]==c) return false;
            if(valid(x-1,y)&&g[x-1][y]==c) return false;
            if(valid(x+1,y)&&g[x+1][y]==c) return false;
            return true;
        }


        C() throws IOException {
            in = new BufferedReader(new InputStreamReader(System.in));          
            eat("");
            solve();            
        }

        private void eat(String str) {
            st = new StringTokenizer(str);
        }

        String next() throws IOException {
            while (!st.hasMoreTokens()) {
                String line = in.readLine();
                if (line == null) {
                    return null;
                }
                eat(line);
            }
            return st.nextToken();
        }

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

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

        double nextDouble() throws IOException {
            return Double.parseDouble(next());
        }

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

        int gcd(int a,int b){
            if(b>a) return gcd(b,a);
            if(b==0) return a;
            return gcd(b,a%b);
        }

}