Checking Lt condition

Checking Lt condition with average automaton (calculate average value
for input satisfy lying in interval (3,10) . Print out error input