Task: Program Execution
Input (English): 7835, G, F, b, G, F, 3655, o, F, v, M, 1287, 2323, l, W, J, Q, T, M, 4899, d, 4631, l, 953
Output (English): 7835, 3655, 1287, 2323, 4899, 4631, 953