Strange Splitting

Problem Name:
Strange Splitting
Site:CodeForces
Links:
Tags:
Problem setters: