using System; using System.Collections.Generic; using System.Collections; using System.Collections.Specialized; using System.Linq; using System.Text; using System.IO; using System.Reflection; using static System.Math; using System.Numerics; using System.Threading; using System.Runtime.CompilerServices; using System.Diagnostics; //using nint=System.Int32; static class Program{ const int mod=(int)1e9+7; static void Main(){ Sc sc=new Sc(); var s=sc.Ia; var p=s[0]+s[1]-2; if(s[2]
>1)&1)==1&&g==-1){
for(int j = s[1]-1;j>0;j-=2) {
if(j==g){continue;}
c[i][j]='#';
if(g==-1){p+=4;}
if(p==s[2]&&g==-1){g=j-2;}
}
}
else{
for(int j = 0;j>1)&1)^1)*2][j]='#';
if(((j>>1)&1)==1){p+=4;}
}
else{c[s[0]-3][j]='#';}
}
}
if(p(int n,Func