defmodule Main do def input, do: IO.read(:line) |> String.trim def ii, do: input() |> String.to_integer def li, do: input() |> String.split |> Enum.map(&String.to_integer/1) def yn(b), do: IO.puts (if b, do: "Yes", else: "No") def main do a = ii() t = div(a * 60, 100) + 10 * 60 h = div(t, 60) m = rem(t, 60) :io.format("~B:~2..0B~n", [h, m]) end end