print(*list(filter(lambda x: x % 133 == 125 and x % 134 == 111, [int(i) for i in range(10000, 99999)])))
print(*list(filter(lambda x: x % 133 == 125 and x % 134 == 111, [int(i) for i in range(10000, 99999)])))