CBENU4CSE20401's submissions for Write a function