#include<stdio.h> int main() { int c1,c2,c3,c4; scanf("%d%d",&c1,&c2); printf("%d\n",c1+c2); getchar(); c3=getchar(); c4=getchar(); printf("%d",c3+c4); return 0; }