CBENU4CSE20412's submissions for Write a function