Task: Program Execution
Input (English): 2, 3, ['1141', 'r', 'R', 'F', '4593', '4921']
Output (English): 0