第1行输入N和T,之后N行每行一个整数表示初始的Ci.
.jpg)
			3 4
1
0
4
INPUT DETAILS:
Three cows, with starting numbers 1, 0, and 4; four repetitions of the
encryption algorithm.
			26
25
29
OUTPUT DETAILS:
The following is a table of the cows' numbers for each turn:
          Cows' numbers
Turn    Cow1  Cow2  Cow3
 0        1     0     4
 1        4     5     1
 2        6     5     9
 3       14    15    11
 4       26    25    29
N<=50000