while(key_a)wait(1);//wait until a is released
do this.


3333333333