Is it possible to choose a value by the exec output pin?

Yes, you can use a Switch to do this.

If you right click and create a Switch node you should see this

image

If you select that dropdown Wildcard, you can select what you want your Index variable to be (you can probably also just wire a variable to it and let it figure it out, but i haven’t tried that)

image

So, then instead of using a Branch node above, you can wire your input to the Branch to that Switch

so, if you give a False value to this switch, you’ll end up with 20 on the out side, and if you give a True value to this switch, you’ll have 25 on the out side.