Task: Program Execution
Input (English): F, u, 2857, 8479, 3131, 597, 7653, T, 4255, z, 4831, 3149, Z, p, d, Q, 3545, J, 1859, H, t, h
Output (English): 2857, 8479, 3131, 597, 7653, 4255, 4831, 3149, 3545, 1859