Match the route map with the corresponding directions where S stands for straight, L for left and R for right.