This program finds the minimal positive integer not occurring in a given sequence.