% RAJEC
payoff1=-2*max(540-s,0)+2*max(645-s,0);
cena1=-2*3.50+2*42.50;
profit1=payoff1-cena1

% Stankova, Vanakova, Zatko
payoff2=2*max(s-615,0)+2*max(610-s,0)+max(600-s,0);
cena2=2*20.20+2*21.10+16.90;
profit2=payoff2-cena2

% Stilla dolce
payoff3=2*max(s-650,0)-2*max(s-550,0);
cena3=2*7.50-2*65.40;
profit3=payoff3-cena3

% abc
payoff4=8*max(585-s,0)+8*max(460-s,0);
cena4=8*11.80+8*0.70;
profit4=payoff4-cena4

% Benkovska, Hermanova
payoff5=max(705-s,0)-max(420-s,0);
cena5=95.40-0.30
profit5=payoff5-cena5

% Holecyova, Oriescikova
payoff6=14*(max(s-570,0)-max(s-590,0)-max(s-610,0)+max(s-630,0));
cena6=14*(50.20-34.40-22.30+13.50);
profit6=payoff6-cena6

% Drobna
payoff7=6*(max(s-650,0)+max(s-500,0)-max(s-630,0)-max(s-520,0));
cena7=6*(7.50+114.90-13.20-93.40);
profit7=payoff7-cena7

% SetEs
payoff8=20*(max(s-560,0)-max(s-570,0)-max(s-600,0)+max(s-610,0));
cena8=20*(59.30-49.10-28.00+22.80);
profit8=payoff8-cena8

% Zmeko, Zitnanska
payoff9=2*max(660-s,0)+max(460-s,0)-2*max(535-s,0);
cena9=2*54.20+0.70-2*3.10;
profit9=payoff9-cena9

% Rosemberg, Stas, Zaprazna
payoff10=3*(max(s-460,0)+max(s-690,0)-max(s-490,0)-max(s-660,0));
cena10=3*(154.00+1.85-122.30-5.00);
profit10=payoff10-cena10

% Konecny, Mosny, Raucina, Zahradnik
payoff11=-11*max(s-650,0)+12*max(s-660,0);
cena11=-11*7.10+12*5.40;
profit11=payoff11-cena11

% Molokac, Polhorsky, Prievalsky, Podolak
payoff12=7*(max(s-520,0)-max(s-540,0)-max(s-560,0)+max(s-600,0));
cena12=7*(95.50-74.30-56.80+28.60);
profit12=payoff12-cena12

% Dizo, Mako, Masiar, Sopuch
payoff13=7*(max(610-s,0)-max(570-s,0));
cena13=7*(21.10-7.70);
profit13=payoff13-cena13

% JAMAKAKA
payoff14=3*max(590-s,0)+8*max(585-s,0)-10*max(535-s,0)-max(540-s,0);
cena14=3*13.30+8*11.80-10*3.10-3.5;
profit14=payoff14-cena14

% Kacerikova, Matova, Silanic
payoff15=24*(-max(s-565,0)-max(565-s,0)+max(s-590,0)+max(540-s,0));
cena15=24*(-52.90-6.80+35.00+3.70);
profit15=payoff15-cena15