Task: Program Execution
Input (English): 2, 3, ['1369', '369', '3255', '9123', '771', 'a', 'F', '4545', 'H', 'Q']
Output (English): 3624