Task: Program Execution
Input (English): 4, 14, ['E', '261', '8501', 'n', 'Z', '1177', '8445', '2511', '3791', '2889', '4321', '8567', 'E', '333', 'H', '3097', 'G', 'R', '483', '8111', 'S', 'd', '4431', '7175']
Output (English): 333, E, 8567, 4321, 2889, 3791, 2511, 8445, 1177, Z, n