Soon after message I have understood my mistake:
"crazy" must be repeted to end of input but I
interrupted output on this sentenses.
By the way, after these troubles I am first
in raiting of 1561 due
to array
char add1[7][7]={
{0,1,2,3,4,5,6},
{1,2,3,4,5,6,0},
{2,3,4,5,6,0,1},
{3,4,5,6,0,1,2},
{4,5,6,0,1,2,3},
{5,6,0,1,2,3,4},
{6,0,1,2,3,4,5}
};
for addition and similar other arrays.