Sichuan University Programming Contest 2016 Preliminary

D: Easy Problem I