CBENU4CSE20443's submissions for Write a function