The simplest task#4581

The simplest task

2 seconds
64 megabytes
Very easy

Consider a network consisting of vertices, labeled from to . Vertex serves as the source, while vertex acts as the sink. For each pair of vertices where i < j, there is a directed edge from vertex to vertex , with a capacity of j-i.

Your task is to determine the maximum flow value in this network.

Input

The input consists of a single integer (2 \leq n \leq 100), representing the number of vertices in the graph.

Output

Output the maximum flow value.

Examples

Example 1

Loading
Loading