Task: Mathematics
Input (English): x = 1, equation weights = [8, 9, 7, 3]
Output (English): 27