Между \(\displaystyle 8\) населенными пунктами (назовём их \(\displaystyle А {\small,}\)\(\displaystyle Б {\small,}\)\(\displaystyle В {\small,}\)\(\displaystyle Г {\small,}\)\(\displaystyle Д {\small,}\)\(\displaystyle Е {\small,}\)\(\displaystyle Ж {\small}\) и \(\displaystyle З \)) курсируют электрички по следующим маршрутам: \(\displaystyle А - В{\small,}\)\(\displaystyle А- Д{\small,}\)\(\displaystyle В - Д {\small,}\)\(\displaystyle Г - Ж{\small,}\)\(\displaystyle Г - Д{\small,}\)\(\displaystyle В - Ж{\small,}\)\(\displaystyle А - Ж{\small,}\)\(\displaystyle З - Е\) и \(\displaystyle Б - Е{\small.}\)
Можно ли добраться на электричках (возможно, с пересадками) из пункта \(\displaystyle А\) в пункт \(\displaystyle Б{\small?}\)