Task: Program Execution
Input (English): 1, 3, ['R', 'F', 'K', 'c', '8781', 'L']
Output (English): KFR