#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define popcount __builtin_popcount using namespace std; typedef long long int ll; typedef pair P; const ll MOD=1e9+7; ll a[]={32,316,2292,14422,84744,479004,2638328,14258574,75940592,399782668,84795558,786749020}; ll c[]={4,4,999999968,56,62,999999621,753,999999123,685,999999665,102,999999991}; int main() { int n; cin>>n; ll v[55]={}; for(int i=0; i<12; i++) v[i]=a[i]; for(int i=12; i