DrawCode Practice Problem

Climbing Stairs

You are climbing a staircase with `n` steps. Each time you can climb 1 or 2 steps. In how many distinct ways can you climb to the top?

Examples

Input

n = 2

Output

2

1+1 or 2

Input

n = 3

Output

3

Constraints


Interactive Visualizer Workspace

Explore step-by-step interactive animations, memory state tracking, and live multi-language execution in DrawCode.

Launch Interactive Visualizer