CBENU4CSE22418's submissions for Write a function