var s,i: integer;
a: array[1..100] of integer;
begin
for i: =1 to 7 do
readln(a[i]);
if a[i] mod 2 = 1 then s: = s - a[i];
end;
writeln(s);
end.
var s,i: integer;
a: array[1..100] of integer;
begin
for i: =1 to 7 do
begin
readln(a[i]);
if a[i] mod 2 = 1 then s: = s - a[i];
end;
writeln(s);
end.