Task: Program Execution
Input (English): f, x, 249, F, K, D, C, d, 4019, 6209, u
Output (English): 1, 2, 4, 5, 6, 7, 8, 11