Greg and Array

Problem Name:
Greg and Array
Site:CodeForces
Links:
Tags:
Problem setters: