Input: Sentence 1: A certain unemployed inventor from Osmiogród created the Futurobot - a device, which applied the Ligadul's Law to the person in its closest vicinity. Sentence 2: The Futurobot applied Ligadul's Law to whatever person was closest to it.
Output: 

 yes