code passcal:
var f,g:text;
a,b,c,d:integer;
begin
assign(f,'tong.inp'); reset(f);
read(f,a,b,c,d);
assign(g,'tong.out'); rewrite(g);
write(g,a+b+c+d);
close(f);
close(g);
end.
code c++
include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("tong.inp","r",stdin);
freopen("tong.out","w",stdout);
int a,b,c,d;
cin>>a>>b>>c>>d;
cout<<a+b+c+d;
return 0;
}