Or, you could write a program and see what it does.