Let $a, b, c$ be three distinct positive integers such that the sum of any two of them is a perfect square. Find the minimal sum $a + b + c$.

Let's think step by step and output the final answer within \boxed{}.
user