sasidhar764's submissions for Write a function