Task: Program Execution
Input (English): 5, 9, ['351', '5045', 'g', 'e', 'l', '1329', 'a', '7457', '3495']
Output (English): 3495, 7457, a, 1329, l