How do I going about working on this problem

To test the effectiveness 1,000 participants were randomly selected with 500 people getting the shot and 500 the nasal spray. Of the 500 people treated with the shot 80 develop the flu and 420 did not, And of the other 500 who were treated with the nasal spray 120 people develop the flu and 380 did not. With the level of significance was set at .05 and the and the people who was treated with the shot .16 and with the spray .24 and the calculated p value = .0008. What were the null and alternative hypotheses?