CBENU4CSE20429's submissions for Write a function