awk '$0=$exp($1<$2)*2-($1==$2)'