When things are arranged in places along a closed curve or a circle, in which any place may be regarded as the first or last place, they form a circular permutation.
6 persons can be arranged in circular permutation as (6 - 1)! = 5! ways, that is:
Enter the number of elements of the set A and the computer will calculate you how many circular permutations of the elements are there? :