Task: Program Execution
Input (English): R, 4267, F, 363, k, 5627, 3925
Output (English): 18, 4267, 6, 363, 11, 5627, 3925