awk '$0=2-(($1-$3)*($2-$4)/3<1)'