Sichuan University Programming Contest 2017 Final(team)

A: Ke