Task: Program Execution
Input (English): Z, 9893, s, K, X, t, 8751, A, 9119, F, 2217, D, v, 491, 7059
Output (English): 9893, 8751, 9119, 2217, 491, 7059