for(n=0,255,print(sum(i=0,7,n>>i%2>>i-=7)))