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>
using namespace std;
const int MAXN = 1e2 + 5;
const double EPS = 1e-9;
char s[MAXN][MAXN];
int main() {
  int n, m, a, b, c;
  scanf("%d%d%d%d%d", &n, &m, &a, &b, &c);
  char cur = 'b', last = 'b';
  char cur2, last2;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      s[i][j] = '!';
    }
  }
  for (int j = 0; j < n - 1 && c; j += 2) {
    for (int i = 0; i < m - 1 && c; i += 2) {
      if (i) {
        if (cur == 'b')
          cur = 'a';
        else
          cur = 'b';
      } else {
        if (last == 'b')
          cur = 'a';
        else
          cur = 'b';
        last = cur;
      }
      s[j][i] = s[j][i + 1] = s[j + 1][i] = s[j + 1][i + 1] = cur;
      c--;
    }
  }
  cur = 'g';
  if (n % 2 != 0) {
    for (int i = n - 1; i < n; i++) {
      for (int j = 0; j < m - 1 && a; j++) {
        if (s[i][j] == '!' && s[i][j + 1] == '!') {
          if (cur == 'g')
            cur = 'h';
          else
            cur = 'g';
          a--;
          s[i][j] = s[i][j + 1] = cur;
        }
      }
    }
  }
  if (m % 2 != 0) {
    cur = 'k';
    for (int j = m - 1; j < m; j++) {
      for (int i = 0; i < n - 1 && b; i++) {
        if (s[i][j] == '!' && s[i + 1][j] == '!') {
          if (cur == 'k')
            cur = 'l';
          else
            cur = 'k';
          b--;
          s[i][j] = s[i + 1][j] = cur;
        }
      }
    }
  }
  cur = 'd';
  last = 'd';
  cur2 = 'c';
  last2 = 'c';
  for (int j = 0; j < n - 1 && a > 1; j += 2) {
    for (int i = 0; i < m - 1 && a > 1; i += 2) {
      if (s[j][i] == '!' && s[j][i + 1] == '!' && s[j + 1][i] == '!' &&
          s[j + 1][i + 1] == '!') {
        if (j) {
          if (i) {
            if (cur == 'd') {
              cur = 'c';
              cur2 = 'd';
            } else {
              cur = 'd';
              cur2 = 'c';
            }
          } else {
            if (last == 'd') {
              cur = 'c';
              cur2 = 'd';
            } else {
              cur = 'd';
              cur2 = 'c';
            }
          }
        } else {
          if (i) {
            if (cur == 'd') {
              cur = 'c';
              cur2 = 'd';
            } else {
              cur = 'd';
              cur2 = 'c';
            }
          } else {
            cur = 'c';
            cur2 = 'd';
          }
        }
        s[j][i] = s[j][i + 1] = cur;
        s[j + 1][i] = s[j + 1][i + 1] = cur2;
        a -= 2;
        int t = i / 2;
        if (t & 1) {
          if (cur2 == 'c')
            last = 'd';
          else
            last = 'c';
        } else
          last = cur2;
      }
    }
  }
  cur = 'f';
  last = 'f';
  cur2 = 'e';
  last2 = 'e';
  for (int j = 0; j < n - 1 && b > 1; j += 2) {
    for (int i = 0; i < m - 1 && b > 1; i += 2) {
      if (s[j][i] == '!' && s[j][i + 1] == '!' && s[j + 1][i] == '!' &&
          s[j + 1][i + 1] == '!') {
        if (j) {
          if (i) {
            if (cur2 == 'f') {
              cur = 'e';
              cur2 = 'f';
            } else {
              cur = 'f';
              cur2 = 'e';
            }
          } else {
            if (last == 'e') {
              cur = 'e';
              cur2 = 'f';
            } else {
              cur = 'f';
              cur2 = 'e';
            }
          }
        } else {
          if (i) {
            if (cur2 == 'f') {
              cur = 'e';
              cur2 = 'f';
            } else {
              cur = 'f';
              cur2 = 'e';
            }
          } else {
            cur = 'e';
            cur2 = 'f';
          }
        }
        s[j][i] = s[j + 1][i] = cur;
        s[j][i + 1] = s[j + 1][i + 1] = cur2;
        b -= 2;
        last = cur2;
      }
    }
  }
  cur = 'g';
  for (int i = n - 1; i < n; i++) {
    for (int j = 0; j < m - 1 && a; j++) {
      if (s[i][j] == '!' && s[i][j + 1] == '!') {
        if (cur == 'g')
          cur = 'h';
        else
          cur = 'g';
        a--;
        s[i][j] = s[i][j + 1] = cur;
      }
    }
  }
  cur = 'k';
  for (int j = m - 1; j < m; j++) {
    for (int i = 0; i < n - 1 && b; i++) {
      if (s[i][j] == '!' && s[i + 1][j] == '!') {
        if (cur == 'k')
          cur = 'l';
        else
          cur = 'k';
        b--;
        s[i][j] = s[i + 1][j] = cur;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m; j++) {
      if (s[i][j] == '!') {
        printf("IMPOSSIBLE");
        return 0;
      }
    }
  }
  for (int i = 0; i < n; i++) {
    printf("%s\n", s[i]);
  }
  return 0;
}