program tinh_tong;
uses crt;
var a,b:integer;
{---Nhap---}
procedure nhap;
begin
clrscr;
write('Nhap so thu nhat: '); readln(a);
write('Nhap so thu hai: '); readln(b);
end;
{---Tong---}
function tong(a,b:integer):integer;
begin
tong:=a+b;
end;
{---Chuong-trinh-chinh---}
BEGIN
nhap;
write('Tong la: ',tong(a,b));
readln;
end.