Task: Program Execution
Input (English): f, s, 5279, N, v, x, K
Output (English): 1, 2, 4, 5, 6, 7