A sports complex has an entrance, indoor stadium, gym and swimming pool with the paths connecting them as shown above. In how many ways can a person go from entrance to swimming pool?