There are three ropes. One of them is $10$ inches long, the other two are $28$ and $30$ inches respectively. If we cut those ropes into small pieces with nothing left and each piece has the same length, how long is each piece at most? 
选项为:A:$$2$$  B:$$5$$  C:$$7$$  D:$$10$$  请回答其中一个选项.