#include <stdio.h>
#include <stdlib.h>
#include <ncurses_dll.h>
#define N 12
#define M 13
void show(char str[][M],int n){
int i;
for(i=0;i<n;i++){
puts(str[i]);
}
}
void update(char str[][M],int n){
int x=1,y=1;
int exitX=10,exitY=10;
char input;
while(x!=exitX||y!=exitY){
input=getchar();
if(input=='a'&&str[x]