Task: Program Execution
Input (English): 8, 9, ['g', '3951', '7403', 'x', 'u', '8505', 'K', '1491', '5213', '1457', '4595', '4217']
Output (English): 31251941