defmodule Main do def main do IO.gets("") |> String.trim() |> String.split() |> Enum.map(&String.to_integer(&1)) |> (fn [d, tax] -> (d * (100 + tax) / 100) |> Float.floor() |> trunc end).() |> IO.puts() end end