Task: Program Execution
Input (English): 5927, a, 7641, h, 1507, 6293, T, B, V, n, 373, 4259, 649, q, P, 553, z, P, 8059, N, Q, G, 5993
Output (English): a, h, T, B, V, n, q, P, z, P, N, Q, G