Sichuan University Programming Contest 2021 Preliminary

J: DNA┼┼đ˛