Task: Program Execution
Input (English): 361, H, X, 7033, x, r, 7699, A, H, 6587, 719, 5271, 2737, x, 6039, i, 3447, 7427, Y
Output (English): 361, 7033, 7699, 6587, 719, 5271, 2737, 6039, 3447, 7427