there is the problem statements statement. Also sorry if i have mistakes in english. If there exist blog about this problem(same as mine) please share.
I’ve not solved this, but a bit of Googling suggests the answers are Catalan numbers. See here and here and here.
edit: Now solved.