Chaos aid function

Sign in to test your solution.