Task: Program Execution
Input (English): u, W, 2559, 9227, J, 8991, x, 3035, T, S, X, Q, 3365, 6415, 8277, v, y, x, W, 5345
Output (English): 2559, 9227, 8991, 3035, 3365, 6415, 8277, 5345