You are given a single line string of mathematical expression. Your task is to check the syntax for the validity, as defined by the following rules:
Valid operators are "plus", "minus", "times", "div".
If the input passes your checks print "OK" otherwise "ERR"
For example:
Input: 1 plus 2
Output: OK
Input: 1 2 plus
Output: ERR