Task: Program Execution
Input (English): A, 3541, 7495, 3575, 9631, 7263, 6635, 1147, 879, B, 2361
Output (English): 2, 3, 4, 5, 6, 7, 8, 9, 11