Task: Program Execution
Input (English): 3, 4, ['5169', 'd', 'p', '7741']
Output (English): 7741