Task: Program Execution
Input (English): 5165, Z, 377, 669, Y, 7953, 7013, 6831, C, L, 8403, B, W, 8307, 5697, T, 8779, 3265, f, 2669
Output (English): Z, Y, C, L, B, W, T, f