public class Solution {
    public int jumpFloor(int target) {

while(target!=0){
    if(target==1){
        return 1;
    }
   else if(target==2){
        return 2;
    }
    else{
        return jumpFloor(target-2)+jumpFloor(target-1);
    }
}
  return 0;
    }
}