#include<iostream>
using namespace std;
int main()
{
int max(int &x,int &y);
int a,b;
cin>>a>>b;
max(a,b);
cout<<b<<','<<a;
return 0;
}
int max(int &x,int &y)
{
int temp;
if(x>y) { temp=y ; y=x; x=temp;}
}
#include<iostream>
using namespace std;
int main()
{
int max(int &x,int &y);
int a,b;
cin>>a>>b;
max(a,b);
cout<<b<<','<<a;
return 0;
}
int max(int &x,int &y)
{
int temp;
if(x>y) { temp=y ; y=x; x=temp;}
}