Problem Description

Read m n. Write function ways(m,n) that returns number of paths from (0,0) to (m-1,n-1) moving only right or down.

Input Format

One line: m n.

Output Format

One integer ways.

Sample Test Case

Input:
3 3
Output:
6

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next