Task: Program Execution
Input (English): 6, ['509', '5217', 'E', 'Q', 'J', 'O', '5851', 'A', 's', '4923', '6141', 'M', '6409', 'r', '4481']
Output (English): 5851, A, s, 4923, 6141, M, 6409, r, 4481