Task: Program Execution
Input (English): 1503, a, 4937, 2387, 1205, 1561, Z, 347, N, 3513, 2171, 247, c, 9599, K, 2645, C, v, n, n, O, 4963, Y, v
Output (English): 1503, 4937, 2387, 1205, 1561, 347, 3513, 2171, 247, 9599, 2645, 4963