Task: Program Execution
Input (English): 2, 3, ['l', 'J', '2731', '9031', '7819']
Output (English): 2731J