local i = 1
while i <= 3 do
    for j = 1, 2 do
        print(i, j)
    end
    i = i + 1
end