CBENU4CSE20422's submissions for Write a function