defmodule Main do def main do IO.read(:line) |> String.split() |> solve |> IO.puts() end defp solve([s, t, u]) do s |> String.to_charlist() |> List.replace_at(t |> String.to_integer(), '_') |> List.replace_at(u |> String.to_integer(), '_') |> Enum.filter(&(&1 != '_')) end end