Task: Program Execution
Input (English): 3547, 5923, X, 1625, 2445, 1835, 2313, J, 5603, i, 5347, X, 7333, P, U
Output (English): 3547, 5923, 1625, 2445, 1835, 2313, 5603, 5347, 7333