Solve assignment.