# data[].attributes.body
Begin

Integer k,n,S:=0, i:=0

read k,n

while i<=n

Do s:=k+i

i=i+1

end while

write s

End

# data[].attributes.body
Begin

Integer k,n,S:=0,i:=0

Read k,n

While i<=n

Do S:=k+1

i=i+1

End while

Write S

End

# data[].attributes.body
Begin

Integer k,n,S:=0, i:=0

read k,n

while i<=n

do S:=k+i

i=i+1

end while

write S

End

# data[].attributes.body
Begin

Integer k,n,S:=0,i:=0

Read k,n

While i<=n

Do S:=k+i

i=i+1

End while

Write s

End

# data[].attributes.body
Begin

Integer k,n,S:=0, i:=0

read k,n

while i<=n

do S:=k+i

i=i+1

end while

write S

End

# data[].attributes.body
BEGIN

INTEGER k,n,S := 0, i=0

READ k,n

WHILE i<=n

DO S:=k+i

i=i+1

END WHILE

WRITE S

END

# data[].attributes.body
Begin

Integer k,n,S:=0,i:=0

Read k,n

While I <=n

Do S:=K+i

i=i+1

End while

Write s

End

# data[].attributes.body
Begin

Integer k,n,S:=0,i:=0

Read k,n

While i<=n

Do S:=k+i

i=i+1

End While

Write S

End

# data[].attributes.body
begin

integer k,n,s:=0,i:=0

read k,n

while l<=n

do s:=k+i

i=i+1

end while

write s

end

# data[].attributes.headline
Paun Andreea Alexandra, clasa a VII-a B  ?

# data[].attributes.subject
Paun Andreea Alexandra, clasa a VII-a B  ?

# data[].attributes.body
BEGIN

INTEGER k, n, S:=0, i:=0

READ k, n

WHILE I<=n

do S:=K+i

i=i+1

END WHILE

WRITE S

END

# data[].attributes.body
VIIB

Begin

Integer S, k, i, n

Read n

Read k

S=0

i=0

While i <=n

Do S=S+(k+i)

i=i+1

End while

Write S

End

# data[].attributes.body
begin

integer k,n,S:=0,i:=0

read k,n

while i<=n

do S:=k+i

i=i+1

End while

Write S

End

# data[].attributes.body
begin

integer k,n,S:=0,i:=0

read k,n

while i<=n

do S:=k+i

i=i+1

End while

Write S

End

# data[].attributes.body
Begin

Integer k , n , s:=0 , i:=0

Read k , n

While i<=n

Do s:=k+1

i=i+1

End while

Write S

End

# data[].attributes.headline
PETCULESCU MIHNEA, CLASA A VII- A    OK!

# data[].attributes.subject
PETCULESCU MIHNEA, CLASA A VII- A    OK!

# data[].attributes.body
BEGIN

INTEGER S,k,n

READ k, n

S:=k

FOR i:= 1 to n do

S:=S+k+i

WRITE S

END

# data[].attributes.body
Begin

Integer k,n,S:=0, i:=1

read k,n

while i<=n

do S:=k+i

i=i+1

end while

write S

End

# data[].attributes.body
begin

integer s,n,k,i

read n,k

s=0

i=k

while(i<=k+n)

do s=s+1

i=i+1

end while

write s

end

# data[].attributes.body
begin

integer n,k,s

read n,k

s=0

i=k

while (k=k+n)

do s:=s+i

endwhile

write s

end

# data[].attributes.body
begin

integer k,S,n

read n.k

S=0

i=k

while (K=k+n)

do S= S+i

i=i+1

endwhile

write S

end