Task: Program Execution
Input (English): 6, 6, ['X', 't', 'o', 'T', '5143', 'p', 'y', '2769', '3873', 'O']
Output (English): p