Task: Program Execution
Input (English): 3017, 7273, k, S, 8157, J, 3019, Z, C, T, 491, 8593, 9631, c, k, 8097, 6525, l, l
Output (English): 3017, 7273, 8157, 3019, 491, 8593, 9631, 8097, 6525