1995 IMO Problems/Problem 3

Problem

Determine all integers $n>3$ for which there exist $n$ points $A_1,\ldots,A_n$ in the plane, no three collinear, and real numbers $r_1,\ldots,r_n$ such that for $1\le i<j<k\le n$, the area of $\triangle A_iA_jA_k$ is $r_i+r_j+r_k$.