How many different sentences with two words can be written using all letters of the word $\text{YARI\c{S}MA}$?

(The Turkish word $\text{YARI\c{S}MA}$ means $\text{CONTEST}$. It will produce the same result.)

Find the total number of different sentences.

Let's think step by step and output the final answer within \boxed{}.
user