while true a = random next integer %% 20 print a if a == 10 print random next integer %% 20 break print random next integer %% 20