The question is right though a repeated one. In such questions, try to redefine the variable for which you have to apply the pigeonhole principle.
Define $a_i =$ total no. of surgeries till the $i$th hour. Then $1\le a_i\le50$. Now define $b_i$ to be $a_i + 21$. Then $1 \le b_i \le 71$.
Now the total number of terms in both the sequences is $72$, and each term takes one of only $71$ possible values. Applying the pigeonhole principle, there are $2$ terms which are equal. As each sequence is strictly increasing, we can't have $a_i=a_j$ or $b_i=b_j$. So $a_i = b_j$ for some $i$ and $j$, which implies $a_i = a_j + 21$. Which means between $i$th hour and $j$th hour , $21$ surgeries were performed.