Task: Program Execution
Input (English): 2, ['1311', '6305', 'h', 'J']
Output (English): 1311, 6305