puts$<.map.with_index{|e|[e.to_i,(65+i).chr]}.max.last