inputed the ternary operation of the formula of which book to read