CBENU4CSE20447's submissions for Write a function