# for i in range(100,1000):# if int(str(i)[0])**3+int(str(i)[1])**3+int(str(i)[2])**3==i:# print(i)# else:# continuefor i in range(100,1000): y1=0 for x in str(i): x1=int(x)**3 y1=y1+x1 if y1==i: print(i)