hs={} arr=[] 5.times{ a,b=gets.split hs[a]=b.to_i arr<