Keep talking and nobody explodes -- hard

Problem Name:
Keep talking and nobody explodes -- hard
Site:CodeForces
Links:
Tags:
Problem setters: