Task: Program Execution
Input (English): 2527, 4951, n, 3367, 7871, 3527, h, A, 511, 4727, p, T, 129, j, q, 5363, 1097, 6767
Output (English): n, h, A, p, T, j, q