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 ViVjCx which implies there is a node from Vi to Vj with capacity Cx.
Output Format:
Print a single integer which is the maximum flow from source to sink.
Constraints: