#include #define REP(i,n) for(int i=0,i##_len=int(n);i>n; switch(n){ case 1: cout << 4 << endl; break; case 2: cout << 78 << endl; break; case 3: cout << 915 << endl; break; case 4: cout << 2910 << endl; break; case 5: cout << 166 << endl; break; default: assert(0); } }