for i in range(1000,1101): if i%3==2 and i%5==4 and i%7==6: print(i)
Standard input is empty
1049
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!