H # include
Int main ()
{
Long a, e,
Int I=0, j=0, b [11]={0}, p=0, d=0, [11]={0}, c y, x, t;
The scanf (" % ld ", & a);
While (a> 0)
{
B [j]=% 10;
A=a/10;
J++;
}
The scanf (" % d ", & x);
For (I=0; I <=j; I++)
{
If (b [I]==x)
P++;
}
The scanf (" % ld ", & e);
J=0;
While (e> 0)
{
C [j]=e % 10;
E=e/10;
J++;
}
The scanf (" % d ", & y);
For (I=0; I <=j; I++)
{
If (c [I]==y)
D++;
}
T=x;
For (I=0; I {
X=x * 10 + t;
}
T=y;
For (I=0; I
Y=y * 10 + t;
}
Printf (" % d ", x + y);
return 0;
}