freq = {} x=[] i=0 while gets() for word in $_.split('/\s/') a=word.split(" ") end x[i]=a i=i+1 end printf("%d %d\n",x[0][2],x[3][2])