i = 7
num = 0
while num == 0:
    if(i%2 == 1 and i%3 == 2 and i%5 == 4 and i%6 ==5):
        num = 1
    else:
        i = i+7
print(i)

  

相关文章: