#include <stdio.h>
#include <string.h>

int main(void) {
	char y[100] = "1032";
	char x[100] = "2399";
	int carry = 0;

    char* b = (strlen(x) >  strlen(y))? x : y;
    char* s = (strlen(x) <= strlen(y))? x : y;
    
	for(int i=strlen(s)-1, j=strlen(b)-1; i>=0; --i,--j)
	{
		b[j] = (b[j]+s[i]+carry-'0');
		carry = 0;
		if (b[j] > '9')
		{
			b[j] = (b[j]-'0')%10+'0';
			carry = 1;
		}
	}
	
	puts(b);
	return 0;
}
