a = 0 ab = gets.chomp.split(" ").map(&:to_i) 0.step(ab.length-1,2) do |x| a+=ab[x]#**ab[x+1] end if a%2 ==0 puts ":-)" else puts ":-(" end