Task: Program Execution
Input (English): E, c, A, 6851, N, 3423, a, A
Output (English): 1, 2, 3, 5, 7, 8