CBENU4CSE20421's submissions for Write a function