Min and Max

  • + 0 comments
    import numpy
    
    N,M = list(map(int,input().split()))
    A = [list(map(int,input().split())) for _ in range(N)]
    print(numpy.max(numpy.min(A,axis=1)))