char name[9],field[10][10]; { rd(name,field(8)); field[0..7][0..7] = field[0..7][0..7] == '.'; field[0..7][1..7] += field[0..7][0..]; field[1..7][7] += field[0..][7]; puts(((name[0]=='y') == (field[7][7]%2)) ? "oda" : "yukiko"); }