Table#8591

Table

1 second
128 megabytes
Medium

Let be a positive integer. Integers , , , , are divided into three sets , and . Write a program, which calculates the number of ways to fill the table with two rows and columns so that:

For example, if n = 4, A = \{2, 3\}, B = \{4, 7, 8\} and C = \{1, 5, 6\}, then there are exactly two tables of required type.

prb8591.gif

Input

On the first row is given the integer (1 < n \leq 35). On the second row are given - the number of integers of the set , and integers of the set (0 \leq m \leq n). On the third row are given - the number of integers of the set , and integers of the set (0 \leq k \leq n).

Output

The program should print a single line holding the result.

Examples

Example 1

Loading
Loading