https://ac.nowcoder.com/acm/contest/28576/A