Task: Program Execution
Input (English): 7, 18, ['2255', 'G', '3913', '6285', '873', 'T', 'p', '6489', 'c', 'd', '4019', 'P', '6121', 'Q', 'a', 'W', '3065', '1181']
Output (English): 20875