2012 summer practice contest 2

E: H1N1's Problem