defmodule Main do def main do IO.read(:line) |> String.trim() |> String.to_integer() |> solve |> IO.puts() end def solve(a) do m = (a * 60) |> div(100) [(m |> div(60)) + 10, m |> rem(60)] |> Enum.map(&(&1 |> to_string |> String.pad_leading(2, "0"))) |> Enum.join(":") end end