#include #define foreach(i, v) for(__typeof((v).begin()) i = (v).begin(); i != (v).end(); ++ i) #define BETWEEN(a, x, b) (a<=x&&x>n; cout<