Task: Program Execution
Input (English): 6, ['5819', '1735', 'X', 'X', '9775', '4555', '2977', 'Z', '2155', 'f', '7047', 'R', 'e', '5371', '2287', '6283', '2025', 'i', '7219']
Output (English): 5819, 1735, X, X, 9775, 4555