SA23's submissions for Write a function