Task: Program Execution
Input (English): Z, 2217, K, O, 2567, 4129
Output (English): 1, 3, 4