defmodule Main do def main do [a, b, c] = IO.gets("") |> String.trim() |> String.split(" ", trim: true) |> Enum.map(&String.to_integer/1) if a + b == c, do: IO.puts("Correct"), else: IO.puts("Incorrect") end end