Task: Program Execution
Input (English): 4, 11, ['6419', '5321', 'g', '9653', '2451', '7689', 'X', '2943', '4741', '8629', 'i', '3995', 'l', '3319', 'H', '9909', 'l', '7591', '8987']
Output (English): 36106