-->
当前位置:首页 > 题库

PROGRAMMING:Take the stairs

Luz5年前 (2021-05-10)题库494
As we all know, $$Keven $$likes to take stairs, and for some reasons, $$Keven $$can only take one or two stairs at a time. Now, $$Keven $$has $$n $$stairs to go. Now, $$Keven $$wants to know how many different ways he can go to the $$n $$stairs, because $$Keven $$has to climb stairs, so this question is up to you.
###Input format:
The first line is an integer $$n $$, meaning as above
$$(1<=n<=40)$$
###Output format:
Output an integer in one line to indicate how many different ways $$Keven $$can go to the $$n $$stairs
###Input example:
```in
three
```
###Output example:
```out
three
```







answer:If there is no answer, please comment