Task: Program Execution
Input (English): 1, 1, ['9457', '7921', '1157', '289', '6521', '4207', '3841', 'J']
Output (English): 9457