ll n,s,x[2d3],y[2d3];{rd(n,(x,y)(n));rep(i,n)rep(j,i)rep(k,j)s+=abs((x[j]-x[i])*(y[k]-y[i])-(y[j]-y[i])*(x[k]-x[i]));wt(s%MD);}