2

$${\sum_j n_j\varepsilon_j = E}$$