An army of n droids is lined up in one row. Each droid is described by m integers a1,a2,...,am, where ai is the number of details of the i-th type in this droid's mechanism. R2-D2 wants to destroy the sequence of consecutive droids of maximum length. He has m weapons, the i-th weapon can affect all the droids in the army by destroying one detail of the i-th type (if the droid doesn't have details of this type, nothing happens to it).
A droid is considered to be destroyed when all of its details are destroyed. R2-D2 can make at most k shots. How many shots from the weapon of what type should R2-D2 make to destroy the sequence of consecutive droids of maximum length?
Output
Print
m space-separated integers, where the
i-th number is the number of shots from the weapon of the
i-th type that the robot should make to destroy the subsequence of consecutive droids of the maximum length.
If there are multiple optimal solutions, print any of them.
It is not necessary to make exactly
k shots, the number of shots can be less.
Note
In the first test the second, third and fourth droids will be destroyed.
In the second test the first and second droids will be destroyed.