import sympy as sym n=int(input()) print(sym.catalan(n))