Task: Program Execution
Input (English): Z, 3927, m, w, A, 4613, p, 8585, 5649, 2467, S
Output (English): 1, 3, 4, 5, 7, 11