#include #define REP(i,n,N) for(int i=(n);i<(int)N;i++) #define p(s) cout<<(s)<>N; REP(a,1,N/3+1){ REP(b,a,N/2+1){ if(N-b-a>=b) cout<