#include <bits/stdc++.h>
using namespace std;
class ex{
public:
void exch1(int *pa, int *pb)
{
int item=0;
item=*pa;
*pa=*pb;
*pb=item;
}
void exch2(int &a, int &b)
{
int item=0;
item=a;
a=b;
b=item;
}
};
#include <bits/stdc++.h>
using namespace std;
class ex{
public:
void exch1(int *pa, int *pb)
{
int item=0;
item=*pa;
*pa=*pb;
*pb=item;
}
void exch2(int &a, int &b)
{
int item=0;
item=a;
a=b;
b=item;
}
};