Rosetta Problems

ICPC 2021 miền Bắc - F: Greetting Card

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