Task: Program Execution
Input (English): p, i, S, l, J, 6669, n, 1605, 7185, P, 7747, 8171, 2375, T, 9657, Q, k, l, e, 7895, Z, 1725, 5835, 3699
Output (English): 6669, 1605, 7185, 7747, 8171, 2375, 9657, 7895, 1725, 5835, 3699