CB_EN_U4CSE20326's submissions for Write a function