in reply to Runs and Sequences

Now, what code have you already written, and why should we do your homework for you?