
private data class Monster(var hp: Int, val attack: Int)

fun main (args:Array<String>) {
    var (takahashi , aoki) = readLine()!!.split(" ").map(String::toInt)
                                .windowed(size = 2, step = 2).flatMap { it.zipWithNext { hp, attack -> Monster(hp, attack) } }

    // println(takahashi)
    // println(aoki)
    var term = 0
    while (takahashi.hp > 0 && aoki.hp > 0) {
        term++
        if (term % 2 == 1) {
            aoki.hp -= takahashi.attack
        } else {
            takahashi.hp -= aoki.attack
        }
    }

    if (aoki.hp <= 0) {
        print("Yes")
        return
    }
    print("No")
}
