puts ":-"+(gets.split.each_slice(2).map{|i|i.first.to_i}.reduce(&:+).odd?? "(":")")