Pseudorandomly. There are more than one way the program could be laid out. Some of them make more sense than others.