The Yamanote Line goes around and around. There are inbound and outbound trains, and you can get to your destination no matter which way you ride. However, please note that if you ride in the wrong direction, a station that takes 5 minutes will take an hour.