Completed Problem22