On the last print line, moved ternary operator question mark next to the parenthesis, and corrected a minor spelling mistake.