Task: Program Execution
Input (English): 3063, q, F, C, 6841, M, 7307, M, S, 4009
Output (English): 2, 3, 4, 6, 8, 9