m=int(input("number of rows"))
n=int(input("number of coulns"))
a=[]
for i in range(m):
a.append([int(j) for j in input().split()])
large=a[0][0]
for j in range(n):
if a[i][j]>large:
large=a[i][j]
print(large)
No comments:
Post a Comment