# -*- coding:utf-8 -*-
class Solution:
    def rectCover(self, number):
        a, b, ans = 1, 2, 0
        if number < 3:
            return number
        else:
            for i in range(3, number + 1):
                ans = a + b
                a = b
                b = ans
            return ans
5274683d0bd7e932ea029c1afc9bee41f1fdebd1
<mask token>

class Solution:
    <mask token>

class Solution:

    def rectCover(self, number):
        a, b, ans = 1, 2, 0
        if number < 3:
            return number
        else:
            for i in range(3, number + 1):
                ans = a + b
                a = b
                b = ans
            return ans

# -*- coding:utf-8 -*-
class Solution:
    def rectCover(self, number):
        a, b, ans = 1, 2, 0
        if number < 3:
            return number
        else:
            for i in range(3, number + 1):
                ans = a + b
                a = b
                b = ans
            return ans