The mode of a sequence of numbers is the number or numbers that appear most frequently in the sequence.

Design a program that computes the mode of a sequence of random numbers. The range of the random number is from 1 to 9 inclusively.