What task? If this is homework, we have some rules here about helping students. But..
If you have 5 discrete masses interconnected elastically , you have 5 degrees of freedom and therefore 5 natural modes of vibration.
Typically at each of the frequencies, the amplitudes are different, so you can't say one is resonating. In fact, they are ALL resonating at each frequency.
If you can write the 5 dynamic equations, you may be able to infer some of this.
If you are not familiar with this, then you will need a refresher in vibrations. There are many elementary books on this.