Virtru Interview Question

Find the magic number in the array.