Sichuan University Programming Contest 2012 Preliminary(team)

I: Windy's S(II)