Consider computing a function of the integers in A that will immediately identify which one is missing.