'oda','yukiko'=>'yukiko'); fscanf(STDIN, "%s", $first_player); for($i=0; $i<8; $i++){ $dot_count = substr_count(fscanf(STDIN, "%s"),'.'); $total += (8 - $dot_count); } if($total%2 === 0){ echo $first_player; }else{ unset($players[$first_player]); echo array_shift($players); } echo "\n"; ?>