#include<iostream>
using namespace std;
int main()
{
int a,b,c,d,e,f,swap;
cout<<"Enter first NO here: ";
cin>>a;
cout<<"Enter second NO here: ";
cin>>b;
cout<<"Enter third NO here: ";
cin>>c;
cout<<"Enter fourth NO here: ";
cin>>d;
cout<<"Enter fifth NO here: ";
cin>>e;
cout<<"Enter sixth NO here: ";
cin>>f;
if(a==b && a==c){
a=d;
b=e;
c=f;
cout<<"First three values are mached an swaped. \n" ;
cout<<"Now the first value is: "<<a;
cout<<"\n Now the second value is: "<<b;
cout<<"\n Now the third value is: "<<c;}
else
cout<<"First three values are not matched.";
return 0;
}