CBENU4CSE22060's submissions for Write a function