Task: Program Execution
Input (English): 2043, 4951, P, 5105, 8545, 9665, 3329, m, T, 4663, 2623, 9591, X, F, 4671, i, 8107, 7991
Output (English): 1, 2, 4, 5, 6, 7, 10, 11, 12, 15, 17, 18