NR == 1 { low = high = $3 } { if ($3 < low) low = $3; if ($3 > high) high = $3 } END { if (NR) print low, high; else print "no data" }