You are given k integer sequences of length n. The distance between sequences A=(a1,…,an) and B=(b1,…,bn) is d(A,B)=∑i=1n∣ai−bi∣. Find an integer sequence C that minimizes maxid(Ai,C) over the given sequences. Any optimal sequence is accepted.
The first line contains n and k (2≤n≤100000, 2≤k≤5). Each of the next k lines has n integers, the absolute values are at most 109.
Print the n integers of a center sequence separated by single spaces.