CBENU4CSE22422's submissions for Write a function