int m=1000000007; int n,t; int dp[3],dq[3]; char s[1010]; main(){ scanf("%d %s",&n,s); t=1; for(int i=0;i