puts gets.split.map(&:to_i).any? { |x| x % 3 == 0 } ? "Yes" : "No"