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