CB_EN_U4CSE20323's submissions for Write a function