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 CPP):

Solution:
#include <bits/stdc++.h>
#pragma comment(linker, "/stack:64000000")
using namespace std;
template <typename first>
inline first abs(const first& a) {
  return a < 0 ? -a : a;
}
template <typename first>
inline first sqr(const first& a) {
  return a * a;
}
using namespace std;
const int N = 100 + 13;
int id[N][N];
char col[N * N], ans[N][N];
int n, m;
bool paint(int x, int y) {
  if (x == n) return true;
  if (y == m) return paint(x + 1, 0);
  if (col[id[x][y]] != -1) {
    char c = col[id[x][y]];
    if ((x != 0 && c == ans[x - 1][y] && id[x][y] != id[x - 1][y]) ||
        (y != 0 && c == ans[x][y - 1] && id[x][y] != id[x][y - 1]))
      return false;
    ans[x][y] = c;
    return paint(x, y + 1);
  }
  char c1 = y == 0 ? 0 : ans[x][y - 1];
  char c2 = x == 0 ? 0 : ans[x - 1][y];
  for (char c = 'a'; c <= 'z'; c++) {
    if (c == c1 || c == c2) continue;
    ans[x][y] = c;
    col[id[x][y]] = c;
    if (paint(x, y + 1)) return true;
    col[id[x][y]] = -1;
  }
  return false;
}
int main() {
  int a, b, c;
  cin >> n >> m >> a >> b >> c;
  if ((n & 1) * (m & 1) == 1) {
    puts("IMPOSSIBLE");
    return 0;
  }
  memset(id, -1, sizeof(id));
  int x = 0, y = 0, curId = 0;
  while (c > 0 && x < n - 1) {
    if (y > m - 2) {
      x += 2;
      y = 0;
      continue;
    }
    id[x][y] = id[x + 1][y] = id[x][y + 1] = id[x + 1][y + 1] = curId++;
    y += 2;
    c--;
  }
  if (n & 1) {
    int xx = n - 1, yy = 0;
    while (a > 0 && yy < m - 1) {
      id[xx][yy] = id[xx][yy + 1] = curId++;
      yy += 2;
      a--;
    }
  }
  if (m & 1) {
    int xx = 0, yy = m - 1;
    while (b > 0 && xx < n - 1) {
      id[xx][yy] = id[xx + 1][yy] = curId++;
      xx += 2;
      b--;
    }
  }
  while (a > 1 && x < n - 1) {
    if (y > m - 2) {
      x += 2;
      y = 0;
      continue;
    }
    id[x][y] = id[x][y + 1] = curId++;
    id[x + 1][y] = id[x + 1][y + 1] = curId++;
    y += 2;
    a -= 2;
  }
  while (b > 1 && x < n - 1) {
    if (y > m - 2) {
      x += 2;
      y = 0;
      continue;
    }
    id[x][y] = id[x + 1][y] = curId++;
    id[x][y + 1] = id[x + 1][y + 1] = curId++;
    y += 2;
    b -= 2;
  }
  for (int i = 0; i < int(n); i++)
    for (int j = 0; j < int(m); j++)
      if (id[i][j] == -1) {
        puts("IMPOSSIBLE");
        return 0;
      }
  memset(col, -1, sizeof(col));
  assert(paint(0, 0));
  for (int i = 0; i < int(n); i++) puts(ans[i]);
  return 0;
}