Submission #32854051 - Tokio Marine & Nichido Fire Insurance Programming Contest 2021(AtCoder Regular Contest 122)

AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online.