Task: Program Execution
Input (English): V, j, 8041, 1637, Q, j, 1179, a, 2851, 6857, q, h, 6407, 2841, 6859, 5521, f, 7011, K, K, 7311
Output (English): V, j, Q, j, a, q, h, f, K, K