Exactly, dont let the school know about it until after they accept you. Once accepted they will not reject you for any reason, as long as you complete all prerequisits, so you will have to retake the course but then the F goes away and noone knows better. Just whatever you do make sure the adcoms dont see the F.