Why my one test case is not passing what could i have missed

my solution is on this link please tell me where am i wrong

@Kiraa_545 hey when taking mod you cannot perform division. You should take inverse mod of 2 and multiply it with the number instead of dividing it.
If this resolves your doubt mark it as resolved.