Staircase Climbing Combinations

Languages

Given a staircase with a length of steps, where you can take 1 or 2 steps at a time, find the number of distinct combinations to reach the top of the staircase from the bottom of the stairs.

Input

  • steps: number: An integer

Examples

Input: steps = 1
Output: 1
Explanation: There is only one way i.e take 1-step
Input: steps = 2
Output: 2
Explanation: There are two ways, either take two 1-step or take one 2-step
Input: steps = 3
Output: 3
Explanation: There are three ways: 1-step three times, 1-step then 2-step, 2-step then 1-step

Constraints

  • 1 <= steps <= 45