Task: Program Execution
Input (English): 4, 7, ['3505', '5071', 'D', 'o', 'R', 'j', 'O', '1141', 'J', 'O']
Output (English): O, j, R, o