int main()
{
int counter=0;
int num1;
int num2;
vector<int>numbers;
while(cin>>num1>>num2)
{
numbers.push_back(num1);
numbers.push_back(num2);
sort(numbers.begin(),numbers.end());
}
for(int i=0;i<numbers.size();++i)
{
cout<<numbers[i]<<" ";
counter++;
}
cout<<endl<<"The Highest number is "<<numbers[counter]<<endl;
}