CBENU4CSE20469's submissions for Write a function