Например:
Important Line
Useless Line
Static Line
Important Line A
Useless Line A
Static Line
Important Line B
Useless Line B
Static Line
Important Line C
Useless Line C
Static Line
Как мы можем превратить их в:
Important Line
Important Line A
Important Line B
Important Line C