#include #include using namespace std; double saiki(double n){ if(n==0) return 4.0; if(n==1) return 3.0; return (19*saiki(n-1) -12*saiki(n-2))/4.0; } int main(){ int N; cin >> N; double a=4; double b=3; double ans=0; //cout << saiki(N) << endl; for(int i=1; i