Task: Program Execution
Input (English): 2, ['r', 'Z', 'j', 'c', '6145']
Output (English): r, Z