awk '$NF <=3 {a[NR]=$NF;c[a[NR]]=$0}END{ n=asort(a,b) print c[b[n]] }' file
# ./test.sh18 126 2833 30 0.010479 2.842