first = '64'
last = '52'
div = 9
for i in range(10):
value = first + str(i) + last
if int(value) % div == 0: print(value)
first = '64'
last = '52'
div = 9
for i in range(10):
value = first + str(i) + last
if int(value) % div == 0: print(value)