For my math nerds: the Collatz conjecture (aka the hailstone sequence) is a famous unsolved problem which states that if you take any positive integer and repeatedly apply two simple rules, you will always eventually land on 1. The rules are: if the number is even, divide it by 2; if it's odd, multiply by 3 and add 1.
Your puzzle: For each number in the array [1, 2, 6, 7, 4, 1, 3, 12, 31], repeatedly apply the Collatz rules: if the number (n) is odd, replace it with 3n+1, and if n is even, replace it with n/2. Continue this process until the sequence reaches 1, and count how many steps it took. Finally, add up all those step counts and submit the total.