Replaced "and" with "&&" and "or" with "||".