Problem #PRU-64315

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

Problem

Author: I.V. Izmestyev

Postman Pat did not want to give away the parcel. So, Matt suggested that he play the following game: every move, Pat writes in a line from left to right the letters M and P, randomly alternating them, until he has a line made up of 11 letters. Matt, after each of Pat’s moves, if he wants, swaps any two letters. If in the end it turns out that the recorded word is a palindrome (that is, it is the same if read from left to right and right to left), then Pat gives Matt the parcel. Can Matt play in such a way as to get the parcel?