Task: Program Execution
Input (English): 1891, 2947, 8041, 3145, 6029, 5053, Q, A, v, i, 4871, 915, G, X, 7417, 9189, 847, 795, 5241, D, N, 1179
Output (English): Q, A, v, i, G, X, D, N