aa
#include<iostream>
using namespace std;
class ykh
{
int x;
public:
ykh()
{
x=0;
cout << "Constructed by default, value = " << x << endl;
}
ykh(int n)
{
x = n;
cout<<"Constructed using one argument constructor, value = "
<< x << endl;
}
ykh(ykh &a)
{
x = a.x;
cout<<"Constructed using copy constructor, value = "
<< x << endl;
}
};
int main()
{
int t;
cin>>t;
int x,p;
while(t--)
{
cin>>x;
if(2 == x)
{
cin >> p;
ykh a3(p);
ykh a4(a3);
}
else if(1 == x)
{
cin >> p;
ykh a2(p);
}
else if(0 == x)
{
ykh a1;
}
}
return 0;
}