There are two teams of heros, the number of team 0G and team Sprite are equal.
One day, Sprite decide to start a war to 0G .So team Sprite randomly attack one hero of 0G. Randomly means will choose a hero with equal probability.
After bing attacked,0G's injured hero who just being attack can choose one of Sprite's hero. The chosen hero must in attacker's range. Then, Sprite's injured hero who just being attacked can choose one and attack also,the chosen hero must in attacker's range and is not injured(heroes never attack an injured hero).They do this turn by turn until one of hero who just being attacked can't find an opponent hero to attack.
After the war stop, if 0G's number of hero without injured no more than Sprite,0G will win.You need to find out the probability of 0G's win.You need to modulo the probability by $1000000009$.