# 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可
#
# 
# @param number int整型 
# @return int整型
#
class Solution:
    def jumpFloor(self , number: int) -> int:
        # write code here
        res = [1, 1, 2]
        while len(res) <= number:
            res.append(res[-1] + res[-2])
        return res[number]