Maria Breaks the Self-isolation

Problem Name:
Maria Breaks the Self-isolation
Site:CodeForces
Links:
Tags:
Problem setters: