1

$$q\ne 1$$

for i in range(3):
    print('Hello, world!')