Task: Program Execution
Input (English): Z, g, f, 3329, w, 2061, 837, 2965, d, T, 8227, 5243, B
Output (English): 3329, 2061, 837, 2965, 8227, 5243