How many ways can six of the letters of the word palindrome be selected and written in a row where either the first two letters are PA(in order) or the last two letters are ME (in order)