def frosk(n): if (n <= 2): return 1 return frosk(n-1) + frosk(n-3) print(frosk(10))