node(a). path(a, b). edge(a, b, 10). path(a, c). edge(a, c, 15). path(a, d). edge(a, d, 2). path(a, e). edge(a, e, 6). node(b). path(b, a). edge(b, a, 12). path(b, c). edge(b, c, 17). path(b, d). edge(b, d, 5). path(b, e). edge(b, e, 3). node(c). path(c, a). edge(c, a, 9). path(c, b). edge(c, b, 5). path(c, d). edge(c, d, 16). path(c, e). edge(c, e, 7). node(d). path(d, a). edge(d, a, 7). path(d, b). edge(d, b, 18). path(d, c). edge(d, c, 19). path(d, e). edge(d, e, 5). node(e). path(e, a). edge(e, a, 17). path(e, b). edge(e, b, 7). path(e, c). edge(e, c, 15). path(e, d). edge(e, d, 15).