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


public class C
{
   public static void main(String[] args)
   {
      new C(new Scanner(System.in));
   }

   int H; 
   int W;
   int[][] grid;
   int pn;

   boolean go(int a, int b, int c)
   {
      pn = 0;
      
      for (int[] gri : grid)
         Arrays.fill(gri, -1);

      if (((H%2) == 1)&&((W%2) == 1)) return false;
      
      int left = 0;
      int top = 0;
      if ((W%2) == 1)
      {
         for (int j=0; j<H; j+=2)
         {
            grid[0][j] = grid[0][j+1] = pn++;
            b--;
         }
         if (b < 0) return false;
         left++;
      }
      else if ((H%2) == 1)
      {
         for (int i=0; i<W; i+=2)
         {
            grid[i][0] = grid[i+1][0] = pn++;
            a--;
         }
         if (a < 0) return false;
         top++;
      }

      if ((left == W)||(top == H)) return true;

      //System.out.printf("pnn = %d%n", pn);
      // First dump all the squares
      int i=left;
      int j=top;
      while (c > 0)
      {
         if (j >= H) return true;

         grid[i][j] = pn;
         grid[i+1][j] = pn;
         grid[i][j+1] = pn;
         grid[i+1][j+1] = pn;
         
         i+=2;
         pn++;

         c--;
         if (i >= W)
         {
            i = left;
            j+=2;
         }
      }

      // Now use all the a's in blocks of 2
      while (a > 1)
      {
         if (j >= H) return true;

         grid[i][j] = pn;
         grid[i+1][j] = pn;
         grid[i][j+1] = pn+1;
         grid[i+1][j+1] = pn+1;
         
         i+=2;
         pn+=2;
         a-=2;

         if (i >= W)
         {
            i = left;
            j+=2;
         }
      }

      // Now use all the b's in blocks of 2
      while (b > 1)
      {
         if (j >= H) return true;

         grid[i][j] = pn;
         grid[i][j+1] = pn;
         grid[i+1][j] = pn+1;
         grid[i+1][j+1] = pn+1;
         
         i+=2;
         pn+=2;
         b-=2;

         if (i >= W)
         {
            i = left;
            j+=2;
         }
      }

      if (j >= H) return true;
      return false;
   }

   int[] color;

   void dfs(Graph g, int i)
   {
      if (color[i] != -1) return;

      TreeSet<Integer> colors = new TreeSet<Integer>();
      for (int j : g.adj[i])
         colors.add(color[j]);

      int cc = 26;
      for (int c = 0; c<26; c++)
      {
         if (!colors.contains(c))
         {
            cc = c;
            break;
         }
      }

      if (cc == 26)
      {
         throw new RuntimeException("Not 26 colorable");
      }

      color[i] = cc;
      for (int j : g.adj[i])
         dfs(g, j);
   }

   public C(Scanner in)
   {
      H = in.nextInt();
      W = in.nextInt();
      grid = new int[W][H];

      if (!go(in.nextInt(), in.nextInt(), in.nextInt()))
      {
         System.out.println("IMPOSSIBLE");
         return;
      }
      //System.out.printf("pn == %d%n", pn);

      Graph g = new Graph(pn);
      for (int j=0; j<H; j++)
         for (int i=0; i<W; i++)
         {
            if (i > 0) g.addEdge(grid[i][j], grid[i-1][j]);
            if (j > 0) g.addEdge(grid[i][j], grid[i][j-1]);
         }

      color = new int[pn];
      Arrays.fill(color, -1);
      dfs(g, 0);
   
      for (int j=0; j<H; j++)
      {
         StringBuilder sb = new StringBuilder();
         for (int i=0; i<W; i++)
         {
            int r = color[grid[i][j]];
            char c = (char)(r+'a');
            sb.append(c);
         }
         System.out.println(sb.toString());
      }
   }
}


class Graph
{
   ArrayList<Integer>[] adj;
   int N;

   public Graph(int n)
   {
      N = n;
      adj = new ArrayList[N];
      for (int i=0; i<N; i++)
         adj[i] = new ArrayList<Integer>();
   }

   void addEdge(int i, int j)
   {
      if (i == j) return;
      if (adj[i].contains(j)) return;
      adj[i].add(j);
      adj[j].add(i);
   }
}