Task: Program Execution
Input (English): n, 7065, I, 1933, 2925, 5811, U, 7293, 6689, Q, 9785, X, 1301, x
Output (English): 7065, 1933, 2925, 5811, 7293, 6689, 9785, 1301