Given a directed flow network where each edge has a capacity of flow it could allow, find the maximum flow over the network from source(S) to sink(T).
Network will follow these rules:
Input Format:
First line has an integer E- number of edges.
Next E lines have three values \(V_i\;V_j\;C_x\) which implies there is a node from \(V_i\) to \(V_j\) with capacity \(C_x\).
Output Format:
Print a single integer which is the maximum flow from source to sink.
Constraints: