Task: Program Execution
Input (English): E, K, o, W, P, Q, 4171
Output (English): 1, 2, 3, 4, 5, 6