Task: Program Execution
Input (English): 9215, 2509, 2999, 7717, v, R, 3289, 9273, k, 3661, 7431, h, 2915, 4333, 4043, 2281, 2339, 4865, K, Q, 8601, 2579, 3855, 5229
Output (English): 9215, 2509, 2999, 7717, 3289, 9273, 3661, 7431, 2915, 4333, 4043, 2281, 2339, 4865, 8601, 2579, 3855, 5229