defmodule Main do
  def main do
    [x, y, z] =
      IO.read(:line)
      |> String.trim |> String.split
	x = String.to_integer(x)
    y = String.to_integer(y)
    z = String.to_integer(z)
    IO.puts(Enum.filter(1..49999, fn n -> y * n + z * (n + 1) <= x end) |> Enum.max)
  end
end
