Task: Program Execution
Input (English): 5, ['5089', 'A', 'M', '7493', '4409', 'P', '543', '7765', 'h', 'a', 'D', 'o']
Output (English): 5089, A, M, 7493, 4409, P, 543