sanyam0912's submissions for Write a function