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