Sichuan University Programming Contest 2019 Final(team)

A: Stocks