COBCH0518 > or < followed by THAN or THEN, or = followed by TO
You have included the noise words THAN and TO unnecessarily in your code.
Resolution:
Delete these words.