7561: [CSES Problem Set] Counting Tilings
[Creator : ]
Description
Your task is to count the number of ways you can fill an $n \times m$ grid using $1 \times 2$ and $2 \times 1$ tiles.
Input
The only input line has two integers $n$ and $m$.
Output
Print one integer: the number of ways modulo $10^9+7$.
Constraints
$1≤n≤10$
$1 \le m \le 1000$
$1 \le m \le 1000$
Sample 1 Input
4 7
Sample 1 Output
781