CBENU4CSE20317's submissions for Write a function