Task: Program Execution
Input (English): f, 2985, K, X, 1851, m, L, 9549, 6881
Output (English): 1, 3, 4, 6, 7