Driver Code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT S = " We ▁ thank ▁ ABCDE1234F ▁ for ▁ visiting ▁ us ▁ " " and ▁ buying ▁ products ▁ item ▁ AMZrr @ ! k . ▁ " N = len ( S ) NEW_LINE findIdandDomain ( S , N ) NEW_LINE DEDENT