Task: Program Execution
Input (English): i, A, D, h, i, q, x
Output (English): 1, 2, 3, 4, 5, 6, 7