#include<iostream>
using namespace std;
void swap1(int &,int &);
int main()
{
int a,b;
cin>>a>>b;
cout<<"输出交换前两个数的值:";
cout<<"\ta="<<a<<"\tb="<<b<<endl;
cout<<"输出交换后两个数的值:";
swap1(a,b);
cout<<"\ta="<<a<<"\tb="<<b<<endl;
}
void swap1(int &a,int &b)
{
int temp;
temp=a;
a=b;
b=temp;
}