Task: Program Execution
Input (English): J, p, 7565, 4973, N, c, 9313, p, 7315, 2267, 4069, C, B
Output (English): 7565, 4973, 9313, 7315, 2267, 4069