Task: Program Execution
Input (English): d, z, s, n, T, a, M, Q, 7901, 9901
Output (English): 1, 2, 3, 4, 5, 6, 7, 8