CBENU4CSE20411's submissions for Write a function