Feedback for AO01F problem

Learning course: Beginner DSA in Python
Problem Link: CodeChef: Practical coding for everyone


I have the issue with the given solution
The set should be returned back to a list and sorted before printing because set does not necessarily has the elements in the ascending order which the question specifies particularly.