﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntersectionOfCircles
{
    public class Circle
    {
        public double Radius { get; set; }
    }
    public class Point
    {
        public double X { get; set; }

        public double Y { get; set; }
    }
    class Program
    {
        static void Main(string[] args)
        {
            var circleOne = Console.ReadLine().Split(' ').ToArray();
            var circleTwo = Console.ReadLine().Split(' ').ToArray();

            var firstCenter = new Point();
            firstCenter.X = double.Parse(circleOne[0]);
            firstCenter.Y = double.Parse(circleOne[1]);

            var secondCenter = new Point();
            secondCenter.X = double.Parse(circleTwo[0]);
            secondCenter.Y = double.Parse(circleTwo[1]);

            double distance = CalculateDistance(firstCenter, secondCenter);

            var firstRadius = new Circle();
            firstRadius.Radius = double.Parse(circleOne[2]);
            var secondRadius = new Circle();
            secondRadius.Radius = double.Parse(circleTwo[2]);

            double radiusSum = firstRadius.Radius + secondRadius.Radius;

            if (distance <= radiusSum)
            {
                Console.WriteLine("Yes");
            }
            else
            {
                Console.WriteLine("No");
            }

        }
        public static double CalculateDistance(Point p1, Point p2)
        {
            double diffX = p2.X - p1.X;
            double diffY = p2.Y - p1.Y;

            return Math.Sqrt(diffX * diffX + diffY * diffY);
        }
    }
}
