#define f(X,g,p,N,M)M{return X?a&b?a&b&1<8?i:M:0:9;}main(){\ int a=511,b=a,i=4;for(;X;b^=1<