K>n what to do?

k>n what to do?
my 3 test cases are not passing and what to do if k>n?

hello @varu

first do k = k%n
and thrrn apply ur logic