Problems
Clever turtle
Clever turtle
\includegraphics{https://static.e-olymp.com/content/06/06375a09d4577d048e570ec8ed34b3cbf6652a11.gif}
There is a field of cellular size $m \cdot n$. The turtle sits in the lower left corner. It can go only right or up. Before getting to the top right corner, it is interested in the question: how many ways are there to get from the origin to the upper right corner?
Although the turtle is clever, it can't count so much. Help the turtle to find an answer to your question.
\InputFile
Two positive integers $m$ and $n$ not exceeding $30$.
\OutputFile
Print the number of ways to get from the lower left corner to the upper right one.
Input example #1
4 3
Output example #1
10