Task: Program Execution
Input (English): 5153, Q, 7891, A, Z, n, 1821, w, 1541, 2823, S, B, t, 2097
Output (English): 5153, 7891, 1821, 1541, 2823, 2097