26_C. Parquet
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
```python
n, m, a, b, c = map(int, input().split())
mat = [0]*n
for i in range(n):
    mat[i] = [0] * m
n1 = [min(n*m//4, c), min(m//2 * n, a), min(n//2 * m, b)]
p = ['c', 'a', 'b']
z = ['d', 'e', 'f', 'g']
z1 = ['m', 'n', 'u', 'o']
z2 = ['p', 'q', 'r', 'w']
#print(n1)
def fill(h, w):
    if h <= 0 or w <= 0:
        return True
    i = 0; j = 0
    for k in range(3):
        while n1[k] > 0:
            #print(i, j, h, w)
            if k == 0:
                if i%4 and j%4:
                    o = 3
                elif i%4 and not j%4:
                    o = 2
                elif not i%4 and j%4:
                    o = 1
                else:
                    o = 0
                mat[i][j] = mat[i+1][j] = mat[i][j+1] = mat[i+1][j+1] = z[o];
            if p[k] == 'a':
                if j%4:
                    o = 2
                else:
                    o = 0
                mat[i][j] = mat[i][j+1] =  z1[o]
                mat[i+1][j] = mat[i+1][j+1] = z1[o+1];
            elif p[k] == 'b':
                if i%4:
                    o = 0
                else:
                    o = 2
                mat[i][j] = mat[i+1][j] =  z2[o]
                mat[i][j+1] = mat[i+1][j+1] = z2[o+1];
            if k == 0:
                n1[k] -= 1
            else:
                n1[k] -= 2
            j += 2
            if j >= w:
                i += 2
                j = 0
                if i >= h:
                    return True
    return False

def pmat():
    for i in range(n):
        for j in range(m):
            print(mat[i][j], end='')
        print('\n', end='')
def even(h, w):
    k1 = 0; k2 = 0
    if n1[1] %2 == 1: n1[1] -= 1; k1 = 1
    if n1[2] %2 == 1: n1[2] -= 1; k2 = 1
    
    if fill(h, w):
        n1[1] += k1
        n1[2] += k2
        return True
    else:
        n1[1] += k1
        n1[2] += k2
        return False
    
if n*m % 2 == 0:
    if n%2 == 0 and m%2 == 0:
        if even(n, m):
            pmat()
        else:
            print('IMPOSSIBLE')
    elif n%2 == 0 and m%2 != 0:
        n1 = [min(n*m//4, c), min(m//2 * n, a), min(n//2 * m, b)]
        p = ['c', 'a', 'b']
        f = 'b'
        if even(n, m-1):
           for i in range(0, n, 2):
                mat[i][m-1] = f; mat[i+1][m-1] = f
                if f == 'a':
                    f = 'b'
                else:
                    f = 'a'
                n1[2] -= 1
           else:
                if n1[2] >= 0:
                    pmat()
                else:
                    print('IMPOSSIBLE')
        else:
            print('IMPOSSIBLE')
    else:
        n1 = [min(n*m//4, c), min(n//2 * m, b), min(m//2 * n, a)]
        p = ['c', 'b', 'a']
        f = 'a'
        if even(n-1, m):
           for i in range(0, m, 2):
                mat[n-1][i] = f; mat[n-1][i+1] = f
                if f == 'a':
                    f = 'b'
                else:
                    f = 'a'
                n1[2] -= 1
           else:
                if n1[2] >= 0:
                    pmat()
                else:
                    print('IMPOSSIBLE')
        else:
            print('IMPOSSIBLE')
    
elif n*m % 2 != 0:
    print('IMPOSSIBLE')
    
    
    

```