CBENU4CSE20333's submissions for Write a function