code:
@myself.yash.srivastav hey yash use long long instead of int which will pass all your test cases.