A few problems with both options. Scenarios not scenario's. In which/where - I'd say either is acceptable 'the logic takes' - you need to rephrase this.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.