Task: Program Execution
Input (English): 6753, y, V, j, X, m, g, J, j, n, 5801, X, 2923, S, p, D, 7021, A, 179, 1977
Output (English): 6753, 5801, 2923, 7021, 179, 1977