Task: Program Execution
Input (English): r, K, 499, 9907, 181, 7023, C, 2417, 921, 299, 3541
Output (English): 3, 4, 5, 6, 8, 9, 10, 11