October Cook-Off 2017

codechef
cook-off

#1

Hello Friends I am stuck with this problem…Can someone explain in simple words what is he asking in the question ?? Thanks in advance :slight_smile: