The elements with an atomic number less than 6 are H, He, Li, Be, and B.
The elements with an atomic mass greater than 8.9 (between the five listed above) are Be and B. Berrylium has an atomic mass of 9.012 and Boron 10.811.
Therefore, there are just two elements with the given characteristics Beryllium and Boron.