Task: Program Execution
Input (English): q, Q, b, 2507, 9081, 2701, T, a, u, 5371
Output (English): 1, 2, 3, 7, 8, 9