Task: Program Execution
Input (English): 4, ['1087', '7029', '807', 'O', 's', '8479', 'm', 'S', 'd']
Output (English): s, 8479, m, S, d