#c22907. 骨牌覆盖

骨牌覆盖

Domino Tiling

Problem Description

Given an n×mn \times m chessboard, you need to cover it entirely with 1×21 \times 2 dominoes. Count the number of distinct tilings. Since the answer may be very large, output it modulo 109+710^9 + 7.

Input Format

The first line contains two integers n,mn, m.

Output Format

Output one line containing a single integer: the answer modulo 109+710^9 + 7.

Sample Input

2 3

Sample Output

3

Constraints

For 100%100\% of the test cases, 1≤n≤1091 \le n \le 10^9, 1≤m≤51 \le m \le 5.