include stdio int main int freopen input txt stdin freopen output txt

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#include<stdio.h>
int main()
{
int a,b;
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
scanf("%d%d",&a,&b);
printf("%d",a+b);
fclose(stdin);
fclose(stdout);
return 0;
}