Merge exercise