execute if score .eventor eventchoose matches 1 run scoreboard players set @s farmer.x 15
execute if score .eventor eventchoose matches 2 run scoreboard players set @s farmer.x 20
scoreboard players operation @s farmer.capital *= @s farmer.x
scoreboard players set @s farmer.x 10
scoreboard players operation @s farmer.capital /= @s farmer.x
scoreboard players reset @s farmer.x