Task: Program Execution
Input (English): K, f, Z, 7423, 6551, s, W
Output (English): 1, 2, 3, 6, 7