Submission #59159453 - TOYOTA SYSTEMS Programming Contest 2024(AtCoder Beginner Contest 377)

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