Input:


Graph edges:

Nodes
Edges
Minimum Weight
Maximum Weight

Output: