IC:=COST(0);
AC:=COST(100);
R:=(AC-IC)/10;
T0:=IC;
T1:=IC+R*1;
T2:=IC+R*2;
T3:=IC+R*3;
T4:=IC+R*4;
T5:=IC+R*5;
T6:=IC+R*6;
T7:=IC+R*7;
T8:=IC+R*8;
T9:=IC+R*9;
T10:=IC+R*10;
S1:=WINNER(T1)-WINNER(T0);
S2:=WINNER(T2)-WINNER(T1);
S3:=WINNER(T3)-WINNER(T2);
S4:=WINNER(T4)-WINNER(T3);
S5:=WINNER(T5)-WINNER(T4);
S6:=WINNER(T6)-WINNER(T5);
S7:=WINNER(T7)-WINNER(T6);
S8:=WINNER(T8)-WINNER(T7);
S9:=WINNER(T9)-WINNER(T8);
S10:=WINNER(T10)-WINNER(T9);
CYCwq:T1*S1+T2*S2+T3*S3+T4*S4+T5*S5+T6*S6+T7*S7+T8*S8+T9*S9+T10*S10-R/2;