CBENU4CSE22442's submissions for Write a function