Submission #54793099 - UNIQUE VISION Programming Contest 2024 Summer (AtCoder Beginner Contest 359)

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