_,*a=$<.read.split r=0 a.map{|e|r+=e.to_r} r="#{r*10**10}" r[-13]+=?. puts r[0..-3]