Task: Program Execution
Input (English): E, 3117, 5101, U, z, 6367, x, 2131, 4493, A
Output (English): 1, 4, 5, 7, 10