You are given a directed network with vertices numbered from to . Find the maximum flow from vertex to vertex . Parallel edges, self-loops, and edges with zero capacity are allowed.
The input is given in the following format:
Print the maximum flow.
| 2 | 30 | ; . |
| 3 | 50 | No additional constraints. |