Employees#678

Employees

1 second
64 megabytes
Easy

At the factory, each of the items can be processed on one of two machines: or . Each item has a serial number from to . The items are processed sequentially, in the order of their serial numbers. The number of items is always even.

There are rules that determine on which machine an item can be processed:

  1. If, at the current moment, the number of items processed on machine is equal to the number of items processed on machine , then the next item must be processed on machine .

  2. In total, the same number of items must be processed on each machine.

Each factory worker suggests a sequence for processing the items. All such sequences are different and must satisfy rules and .

Write a program that, given the number of items , determines the maximum possible number of factory workers.

Input

One even integer (2 \leq N \leq 28) — the number of items to be processed.

Output

Print one integer — the maximum possible number of factory workers.

Examples

Example 1

Loading
Loading