#!/usr/bin/env python3 # NOTE: it is recommended to use this even if you don't understand the following code. import sys # uncomment the two following lines if you want to read/write from files # sys.stdin = open('input.txt') # sys.stdout = open('output.txt', 'w') N, M, R, G, B = map(int, input().strip().split()) grid = [['R'] * M for _ in range(N)] possible = True # INSERT YOUR CODE HERE if possible: print('YES') for i in range(N): print(''.join(grid[i])) else: print('NO') sys.stdout.close()