Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT n , m = 2 , 2 NEW_LINE a = [ [ 2 , 10 ] , [ 11 , 5 ] ] NEW_LINE b = [ [ 9 , 4 ] , [ 3 , 12 ] ] NEW_LINE print ( Check ( a , b ) ) NEW_LINE DEDENT