class Solution {
public:
    int jumpFloor(int number) {
        int a=0,b=1,c=2;
        for(int i=0;i<number;i++){
            a=b;
            b=c;
            c=a+b;
        }
        return a;
    }
};