There are 5 buildings A, I, T, M, C at the top of each building has bridges connected between buildings as shown in the figure.
Now, a girl stays at the top of building A.
How many way sare there that she walks with the bridge to visitall building exactly once?