The planet Cube is an ordinary cube with 6 faces, pilgrims must visit 6 towns, one on each face. The length of any edge of Cube is 3 miles, the cities have the following coordinates (x,y,z) in miles:
A (2,0,2)
B (3,1,1)
C (1,3,2)
D (0,2,1)
E (1,1,0)
F (1,1,3)
Pilgrims have to follow the shortest closed path on the surface of planet Cube going from A to A traversing each town: your task is to find the sequence of visited towns and the total distance traveled by pilgrims in miles, describing the details.
Here is the image of planet Cube using transparency to show all towns (towns B,C and E are not directly visible from the observer):
Town A is located on front face, town F on top face, town E on bottom face, town D on the left, town B on the right and town C on the back. Please refer to the coordinates. Note that there are no tunnels, i.e. pilgrims walk on the surface of each cube face.
