Task: Program Execution
Input (English): g, 833, d, N, F, B, E, 653, 111, 1507, c, D, 3083, 3909, O, Q
Output (English): g, d, N, F, B, E, c, D, O, Q