n=gets.to_i a=gets.split(" ").map{|e| e.to_f} b=a.sum/n puts a.map{|e| (50-(b-e)/2.0).to_i }