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