while true do
local r = math.random(0, 19)
print(r)
if r == 10 then break end
print(math.random(0, 19))
end