Rosetta Problems

ICPC 2020 vòng Quốc gia - F: Fluffy Cat

https://oj.vnoi.info/problem/icpc20_national_f