Problem in python compiler challenges in math catalan number

import math
n=int(input())
Cn=math.factorial(2*n)//(math.factorial(n))**2
print(Cn//(n+1))

I ran the same code in codechef compiler and it ran perfectly fine. Why is it not working here.

it is working on hacker blocks perfectly fine and passing all testcase

check once agian