#IWGBS. 0110SS

    ID: 2088 远端评测题 3085ms 1536MiB 尝试: 0 已通过: 0 难度: (无) 上传者: 标签>big-numbersdynamic-programming

0110SS

本题没有可用的提交语言。

Dor is IWGolymp student so he has to count in how many ways he can make N digit numbers that is formed by ones and zeroes. But zeroes can not be next to each other. Help to him in how many different numbers can he make.

For example, N = 3: 101, 010, 111, 110, 011

Note: A leading zero is allowed.

Input

A positive integer N (1 <= N <= 10000).

Output

Answer for the problem.

Example

Input:
2

Output: 3

</p>