s=[] for i in range(17,2000): if i%17==0: s.append(i) M=max(s) print(M) ########### for i in range(2000, 17,-1): if(i%17==0): print(i) break