defmodule Main do def main do [{n, _}, _] = IO.read(:line) |> String.trim() |> String.split() |> Enum.map(&Integer.parse/1) solve(n) |> IO.puts end def solve(n) do n / 2 end end