CSE22134's submissions for Write a function