touch foo
rm foo
for i in win*/r.log
do
    echo $i >> foo
    grep -B4 -E 'bes|las' $i | tail -11 >> foo
done
awk -f get-best-list2.awk  foo 
