In this coded language first and last letters have been interchanged while the remaining letters are coded by taking their immediate next letters in the reverse order.
Thus for the word REPUBLIC interchanging first and last letters we have C _ _ _ _ _ _ R
Now taking next letter of the remaining 6 letters 'EPUBLI' in reverse order, we have J M C V Q F
Therefore, correct answer is 'CJMCVQFR'