Task: Program Execution
Input (English): 22, 25, ['2987', '8981', '5445', 'Q', '8655', '8075', '9141', 'S', 'n', 'r', 'j', '255', '7581', '9985', 'Q', 'Y', '5753', 'c', 't', '6905', 'u', '2613', 'E', '1815', 'a']
Output (English): 4428