Task: Program Execution
Input (English): 1, 4, ['2711', 'p', '4467', 'Q', '7765', '4945', 'u']
Output (English): 7178