CBENU4CSE22404's submissions for Write a function