Searching for the word in A . If while searching , we reach the end of the String , then the word is not present in the String
if ( ! s1 . contains ( words ) || ! s2 . contains ( words ) ) System . out . print ( words ) ;