Task: Program Execution
Input (English): 3, 4, ['3305', 'q', '4215', '653', 'J', 'a', 'B', '6423']
Output (English): 3565124