Please help in debugging the following 2 codes:
CodeChef: Practical coding for everyone
Thanks
1 5 2 2 2 2 2
Got my mistake, thanks