Task: Program Execution
Input (English): 4, 10, ['2335', '3347', 'w', '8321', '9709', '493', '3567', 'o', 'X', '723', 'g', 'G', '7301', '4985']
Output (English): 22813