static void Main(string[] args)
        {
            var inputOne = Console.ReadLine().Split().Select(int.Parse).ToArray();
            var inputTwo = Console.ReadLine().Split().Select(int.Parse).ToArray();

            var circleOne = new Circle(inputOne[0], inputOne[1], inputOne[2]);
            var circleTwo = new Circle(inputTwo[0], inputTwo[1], inputTwo[2]);

            var distance = Math.Sqrt(Math.Pow(circleTwo.X - circleOne.X, 2) + Math.Pow(circleTwo.Y - circleOne.Y, 2));

            Console.WriteLine(distance <= circleOne.Radius + circleTwo.Radius ? "Yes" : "No");
        }