Use proper '&&' and '||' instead of 'and' and 'or'