A chemist decomposes samples of several compounds; the masses of their constituent elements are listed. Calculate the empirical formula for each compound.

a. 1.245 g Ni, 5.381 g I,
b. 2.677 g Ba, 3.115 g Br,
c. 2.128 g Be, 7.557 g S, 15.107 g