1 2 3 4 5 6 7
int N = rand(0,1000); int x = 0; while (x < N) { print(x,N); x = x + rand(0,3); } assert(x>=N && x<N+3);