Task: Program Execution
Input (English): 2, 2, ['5189', 'J']
Output (English): 0