Task: Program Execution
Input (English): 10, 12, ['N', 'E', 'P', '4087', 'D', '1321', 'k', '3411', '1687', '6655', 'N', 'G', '5303', 'c']
Output (English): GN5566