A little boy Petya dreams of growing up and becoming the Head Berland Plumber. He is thinking of the problems he will have to solve in the future. Unfortunately, Petya is too inexperienced, so you are about to solve one of such problems for Petya, the one he's the most interested in.
The Berland capital has n water tanks numbered from 1 to n. These tanks are connected by unidirectional pipes in some manner. Any pair of water tanks is connected by at most one pipe in each direction. Each pipe has a strictly positive integer width. Width determines the number of liters of water per a unit of time this pipe can transport. The water goes to the city from the main water tank (its number is 1). The water must go through some pipe path and get to the sewer tank with cleaning system (its number is n).
Petya wants to increase the width of some subset of pipes by at most k units in total so that the width of each pipe remains integer. Help him determine the maximum amount of water that can be transmitted per a unit of time from the main tank to the sewer tank after such operation is completed.
Output
Print a single integer − the maximum amount of water that can be transmitted from the main tank to the sewer tank per a unit of time.
Note
In the first test Petya can increase width of the pipe that goes from the
1st to the
2nd water tank by
7 units.
In the second test Petya can increase width of the pipe that goes from the
1st to the
2nd water tank by
4 units, from the
2nd to the
3rd water tank by
3 units, from the
3rd to the
4th water tank by
2 units and from the
4th to
5th water tank by
1 unit.