Calculate the quotient and the remainder in the division with remainder of \(247\) by \(9\). Write your answer in the form of the template \(247=\Box\times 9+\Box\).