Number Of Ways Of Triangulation

easy
1. You are given a number N, which represents the number of sides in a polygon.
2. You have to find the total number of ways in which the given polygon can be triangulated.

Input Format

A number N

Output Format

A number representing number of ways of traingulating a N-sided polygon.

Constraints

1 <= N <= 15

Example

Input
5
Output
5
Previous
Maximum Sum Of M Non-overlapping Subarrays
Next
Ugly Number

Related Questions