i = 0
while i < 5:
i += 1
for j in range(3):
print (j,j)
if j == 2:
break
for k in range(3):
if k == 2:
continue
print(k,k,k,k)
if i > 3:
break
print (i,i,i)
i = 0
while i < 5:
i +=1
for j in range(3):
print("j=",j)
if j == 2:
break
for k in range(3):
if k == 2:
continue
print("k=",k)
if i > 3:
break
print('i=',i)