You start with the line
\[ 1,\ 2,\ 3,\ 4,\ 5. \] The only operation allowed is to choose three consecutive cards and rotate them cyclically: \[ abc\to bca \quad\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\text{or}\quad abc\to cab. \] Is it possible to obtain any permutation of the five cards in this way? \]