Sichuan University Programming Contest 2016 Preliminary

E: Easy Problem II