Task: Program Execution
Input (English): 4, 5, ['J', 'R', 'k', 'a', '3289', '8183', 'z', '7513', 'j', '6217', '5011', '4241']
Output (English): 3289a