Gateway which takes just the first token

im just looking for a solution, where only the first token of Task A or Task B gets executed.
Do you see any possibilities to configure this with an inclusice or complex gateway?
It would be glad of your help!?
Thanks a lot!

@photowinget If we use exclusive gateway for forking the activities then for synchronizing the activities also should be the exclusive gateway. Maybe if you could elaborate more on your usecase would be helpful.