Question 6A number machine $nm$ takes two nonzero whole numbers $X,Y$, divides the larger by the smaller, and outputs the remainder $R$. What is the output for inputs 6 and 135? 1345