Feedback for AO19 problem

Learning course: Solve Programming problems using Python
Problem Link: CodeChef: Practical coding for everyone

Feedback

How to solve without the array being provided.