NR==1 { next} { N++; Data[N,1]=$1; Data[N,2]=$2; Sum += $1; } END { for(I=1;I<=N;I++) print int(100*Data[I,1]/Sum), Data[I,2] }