Task: Program Execution
Input (English): 2, ['Z', '2419', '4489', '561', 'P', '57', 'H', '3437']
Output (English): Z, 2419