Set up ternary using one logical operator.