import java.util.*;
import java.lang.*;
import java.io.*;
class Main
{
{
Scanner in
= new Scanner
(System.
in); double x, max = 0.0;
int m = in.nextInt(), n = in.nextInt();
for (int i = 0; i < m; i++) {
double s = 0.0;
for (int j = 0; j < n; j++) {
x = in.nextDouble();
}
if (s > max)
max = s;
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCVNjYW5uZXIgaW4gPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJCWRvdWJsZSB4LCBtYXggPSAwLjA7CgkJaW50IG0gPSBpbi5uZXh0SW50KCksIG4gPSBpbi5uZXh0SW50KCk7CgkJZm9yIChpbnQgaSA9IDA7IGkgPCBtOyBpKyspIHsKCQkJZG91YmxlIHMgPSAwLjA7CgkJCWZvciAoaW50IGogPSAwOyBqIDwgbjsgaisrKSB7CgkJCQl4ID0gaW4ubmV4dERvdWJsZSgpOwoJCQkJcyArPSBNYXRoLmFicyh4KTsKCQkJfQoJCQlpZiAocyA+IG1heCkKCQkJCW1heCA9IHM7CgkJfQoJCVN5c3RlbS5vdXQucHJpbnRsbihtYXgpOwoJfQp9