import itertools
m=1051955226159785296527938644268159905745060258708849004347541404160000
z=[x for x in range(4,81) if all(x%p>0 for p in [11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79]) and x not in [12,64,27,25,49]]
a,b=z[:16],z[16:]
d={0:1}
for k in range(1,17):
for c in itertools.combinations(b,k):
x=sum(m//(y*y) for y in c)
d[x]=d.get(x,0)+1
r1=r2=r3=0
target1=m//4-m//9
target2=m//4-m//9-m//144
target3=m//4-m//9-m//144-m//144
for k in range(1,17):
for c in itertools.combinations(a,k):
x=sum(m//(y*y) for y in c)
r1+=d.get(target1-x,0)
r2+=d.get(target2-x,0)
r3+=d.get(target3-x,0)
print(r1+2*r2+r3,r1,r2,r3)