Task 4: Exchange operations