A series-parallel combination battery consisting of a large number \(N=300\) of identical cells, each with an internal resistance \(r=0.3 \Omega,\) is loaded with an external resistance \(R=10 \Omega\). Find the number \(n\) of parallel groups consisting of an equal number of cells connected in series, at which the external resistance generates the highest. thermal power.