Task: Program Execution
Input (English): 3, 4, ['5851', '8695', '4899', '7421', 'R', 'X']
Output (English): 12320