#include <iostream> using namespace std; int borrow(int n,int ans){ if(n == 2){ cout << ans+1 << endl; return 0; } if(n == 1 || n == 0){ cout << ans <<endl; return 0; } borrow(n/3 + n % 3, ans + n/3); return 0; } ...