Skip to content
C

Climbing Stairs

Easyjavapythonccppjavascript

You are climbing a staircase with N steps. Each move you can climb either 1 or 2 steps. Count the number of distinct ways to reach the top.

Input Format

A single line containing the integer N.

Output Format

Print the number of distinct ways.

Input (stdin)

Output

Run your code to see output here...