Problem:
Score : 200 points

Problem Statement

Takahashi and Aoki will have a battle using their monsters.

The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively.

The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ...
Here, an attack decreases the opponent's health by the value equal to the attacker's strength.
The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins.

If Takahashi will win, print Yes; if he will lose, print No.

Constraints

1 \leq A,B,C,D \leq 100

All values in input are integers.

Input

Input is given from Standard Input in the following format:

A B C D

Output

If Takahashi will win, print Yes; if he will lose, print No.

Sample Input 1

10 9 10 10

Sample Output 1

No

First, Takahashi's monster attacks Aoki's monster, whose health is now 10-9=1.

Next, Aoki's monster attacks Takahashi's monster, whose health is now 10-10=0.

Takahashi's monster is the first to have 0 or less health, so Takahashi loses.

Sample Input 2

46 4 40 5

Sample Output 2

Yes

Solution in C# (.NET Core 3.1.201) (judge verdict: Wrong Answer)

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

namespace _20200528kensyu
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int A = int.Parse(input[0]);
            int B = int.Parse(input[1]);
            int C = int.Parse(input[2]);
            int D = int.Parse(input[3]);

            //高橋君のインスタンス
            Duelist duelist1 = new Duelist();
            duelist1.Name = "高橋";
            duelist1.HP = A;
            duelist1.Attack = B;

            //青木君のインスタンス
            Duelist duelist2 = new Duelist();
            duelist2.Name = "青木";
            duelist2.HP = C;
            duelist2.Attack = D;

            while (true)
            {
                duelist2.HP -= duelist1.Attack; //高橋君が青木君に攻撃
                if (duelist2.HP <= 0)
                {
                    Console.WriteLine("Yes");
                    break;
                }

                A -= D; //青木君が高橋君に攻撃
                if (duelist1.HP <= 0)
                {
                    Console.WriteLine("No");
                    break;
                }
            }

            Console.Read();

        }
    }

    class Duelist //名前、HP、攻撃力
    {
        public string Name;
        public int HP;
        public int Attack;
    }

}