Phew! That one was a lot of work, unless I'm just really dumb, I wasn't able to figure out the pattern, just had to brute force random numbers in.