#5830. CSES2181 填充计数
0
CSES2181 填充计数
Counting Tilings
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
Example
Input
4 7
Output
781