Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT s = [ 10 , 20 , 30 , 40 , 50 ] NEW_LINE arr = [ 20 , 30 ] NEW_LINE if checkArrInStack ( s , arr ) : NEW_LINE INDENT print ( " YES " ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " NO " ) NEW_LINE DEDENT DEDENT