Input: Sentence 1: Jingoistic Java Juggernaut Sentence 2: The Java Juggernaut is Jingoistic
Output: 

 yes