a[]={1,927880474,933245637,668123525,429277690,733333339,724464507,957939114,203191898,586445753,698611116}; long n,x,m=1e9+7; main(i){ scanf("%ld",&n); if(n