#include<iostream>
using namespace std;
int main()
{
unsigned a,b;
cout<<"a=";cin>>a;
cout<<"b=";cin>>b;
if(a==b)
cout<<"Copiii au aceeasi varsta";
else
if(a>b)
cout<<"Primu e mai mare cu:"<<a-b<<"an";
else
cout<<"Al doilea e mai mare cu:"<<b-a<<"an";
return 0;
}