Adding the equation inputs