H. Pattern Recognition
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

You are given a positive integer $$$n$$$.

Consider all possible non-empty subsets of the set $$${1, 2, 3, \ldots, n}$$$. For each subset, calculate the product of its elements.

Find the number of distinct products.

Input

The input contains a single integer $$$n$$$ $$$(1 \le n \le 20)$$$.

Output

Print the number of distinct products.

Examples
Input
1
Output
1
Input
2
Output
2
Input
3
Output
4
Input
4
Output
8