#define L 2000000 long long I[L],F[L],R[L];C,K,M=1000000007;main(N){for(*I=*F=*R=I[1]=F[1]=R[1]=1;++N