Order and chaos

Sign in to test your solution.