It seems to me that "both" is misplaced here. If you used the singular "a stranger" instead of plural "strangers", then the determiner/pronoun "both" would be ok.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
teacherJapanWhere should I put "both?"All three are OK. "both" and "all" work the same way.