Dogs and monkeys#8595

Dogs and monkeys

1 second
128 megabytes
Very easy

Barish has dogs and monkeys. He wants to line them up. But he doesn't want to put two dogs or two monkeys together, because in this case they start to fight. How many different arrangements exist, such that neither the monkeys nor the dogs fight. Print the answer modulo 10^9 + 7. Keep in mind that dogs and monkeys are different.

Input

Two integers and m~(1 \le n, m \le 10^5).

Output

Print the number of different ways to arrange monkeys and dogs modulo 10^9 + 7.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading