Task: Program Execution
Input (English): 3, 3, ['2857', '7407', 'o', '3969', '5317']
Output (English): o