entries = parse.(Int, readlines("input.txt"))

for (i, x) in enumerate(entries)
    for j in 1:i-1
        y = entries[j]
        if x + y == 2020
            @info "Part I" x y x*y
        end
        for k in 1:j-1
            z = entries[k]
            if x + y + z == 2020
                @info "Part II" x y z x*y*z
            end
        end
    end
end
