The permutation for each hour, however, is the same because nothing has changed but the number each guard is holding.
The permutation of the guards after twelve hours is R^12, where R is the permutation every hour.