Program HOC24;
var n,i: integer;
t: longint;
Begin
write('Nhap N: '); readln(N);
t:=0;
for i:=1 to n do t:=t+i;
if t mod 2=0 then write('Tong la so chan') else write('Tong la so le');
readln
end.
n = int(input('nhap n'))
s = 0
for i in range(0,n):
s = s+i
print('tong cua day tu 0 den '+n+'la'+s)
if s%2 == 0:
print('s la so chan')
else:
print('s la so le')