Input: Sentence 1: most recently at three Treasury agencies, the Department of Energy, Department of Sentence 2: The Department of Energy and the 3 Treasury agencies.
Output: 

 yes