#include using namespace std; typedef long long LL; typedef vector V; typedef vector VV; typedef vector VVV; typedef vector VVVV; const LL MOD=1e9+7; int main() { int N; cin >> N; VVVV dp(N+1,VVV(N+10,VV(2,V(2,0)))); dp[1][0][0][0] = 1; dp[2][0][0][0] = 2; for(int i = 2; i