Jellyfish and Green Apple

Problem Name:
Jellyfish and Green Apple
Site:CodeForces
Links:
Tags:
Problem setters: