#!/usr/bin/python

from Solution import Solution
obj = Solution()

A = [0,1,2,2]
out = obj.totalFruit(A)
print(out)

#!/usr/bin/python

from Solution import Solution
obj = Solution()

A = [0,1,2,2]
out = obj.totalFruit(A)
print(out)

#!/usr/bin/python