Nastia and a Good Array

Problem Name:
Nastia and a Good Array
Site:CodeForces
Links:
Tags:
Problem setters: