i am getting correct output but failing 1 testcase
hello @sakshi0406
for n < 3 answer will always be -1 but urs is printing some other result