object Main {
  def main(args: Array[String]) {
    val sc = new java.util.Scanner(System.in)
    val n, a, b = sc.nextInt
    val hs = List.fill(n)(sc.nextInt).sorted(Ordering[Int].reverse)

    println(go(0, hs, a, b))
  }

  def go(count: Int, enemies: List[Int], a: Int, b:Int): Int = {
    val livingEnemies = enemies.filter(_>0)
    if (livingEnemies.length <= 0) {
      return count
    }

    val damagedEnemies = livingEnemies.sorted(Ordering[Int].reverse).map(_-b)
    go(count+1, (damagedEnemies.head - a + b) :: damagedEnemies.tail, a, b)
  }
}
