A mouse wants to escape a labyrinth. On her way out she is only allowed to go through each opening once at most. How many different ways can the mouse choose to go to get outside?