My textbook defines the quotient remainder theorem as follows -

Given any integer *n* and positive integer *d*, there exist unique integers *q* and *r* such that

n = dq + r

where r is a nonnegative integer less than d.

​

Here's a question -

For n = 70 and d = 9, **Find integers** ***q*** **and** ***r*** **such that n = dq + r where** r is a nonnegative integer less than d.

According to the book, the answer to this question is q = 7 and r = 7. But q and r cannot have the same value because the quotient remainder theorem specifies that q and r have unique values (which means that they cannot have the same values). Is the textbook's answer incorrect? Or am I misunderstanding the quotient-remainder theorem?