Catalan Number Wrong answers is coming please see the code and tell me where i am doing wrong

it’s showing incorrect ,please tell me where i am doing wrong i try but all the time it’s showing error ami i not suppose to use %m(10,9) + 7

hello @yohoohardwell222

pls save ur code at cb ide and paste its url here