CF933E A Preponderant Reunion

Description

East or west, home is best. That's why family reunion, the indispensable necessity of Lunar New Year celebration, is put in such a position. After the reunion dinner, Little Tommy plays a game with the family. Here is a concise introduction to this game: 1. There is a sequence of $ n $ non-negative integers $ p_{1},p_{2},...,p_{n} $ in the beginning. It is ruled that each integer in this sequence should be non-negative at any time. 2. You can select two consecutive positive integers in this sequence, $ p_{i} $ and $ p_{i+1} $ $ (1

Input Format

The first line contains one integer $ n $ $ (1

Output Format

In the first line print one integer as the number of descensions $ m $ $ (0

Explanation/Hint

In the first sample, one possible best solution is ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF933E/5514e1fc7d0b6064021e9d6d57147b2abc1b3686.png), of which the cost is $ 1+1=2 $ . In the second sample, one possible best solution is ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF933E/0899cab2deb5ed7ca02595a7f99c5aba9588c34e.png), of which the cost is $ 1+1+1=3 $ .