Problem #PRU-116809

Problems Discrete Mathematics Set theory and logic Mathematical logic Mathematical logic (other)

Problem

A monkey, donkey and goat decided to play a game. They sat in a row, with the monkey on the right. They started to play the violin, but very poorly. They changed places and then the donkey was in the middle. However the violin trio still didn’t sound as they wanted it to. They changed places once more. After changing places 3 times, each of the three “musicians” had a chance to sit in the left, middle and right of the row. Who sat where after the third change of seats?