#include #include using namespace std; typedef valarray<__int128_t>V; int n,m=1000000007; V z; V &Me(const V &_x,const V &_y){ int i=0,j; for(;i>=1){ if(r&1)e=Me(e,x); x=Me(x,x); } for(i=0;i