s=range(2,763) for i in s: if 7==sum([1for k in s if(i%k<1)*i%k**3]):print i