Correct option is A
Given - PRIME is written as KIRNV, then SPORT

Logic = code involves writing the opposite letters of the word
In the given example:
P → K (opposite letters)
R → I (opposite letters)
I → R (opposite letters)
M → N (opposite letters)
E → V (opposite letters)
Following the same logic for SPORT:
S → H (opposite letter of S)
P → K (opposite letter of P)
O → L (opposite letter of O)
R → I (opposite letter of R)
T → G (opposite letter of T)
Thus, SPORT would be written as HKLIG.