An electron in the hydrogen atom initially in the fourth excited state makes a transition to \( n^{\text{th}} \) energy state by emitting a photon of energy \( 2.86 \, \text{eV} \). The integer value of \( n \) will be __________.