Var a: array [1..5] of integer;
i, s: integer;
Begin
S:=0;
For i:=1 to 5 do
Readln(a[i]) >0 then s:=s+a[i];
Writeln(s)
End.
Var a: array [1..5] of integer;
i, s: integer;
Begin
S:=0;
For i:=1 to 5 do
Readln(a[i]) >0 then s:=s+a[i];
Writeln(s)
End.