#include <iostream>
using namespace std;
class C{
private:
public:
C(){cout << "C0 " ;};
C(const C&) { cout << "CC ";};
C& operator= (const C&) { cout << "O= "; return *this;};
};
C fun(C a) { return a;}
int main(){
C c;
cout << endl;
fun(c);
cout << endl;
C y = fun(c);
cout << endl;
C z; z = fun(c);
cout << endl;
fun(fun(c));
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNsYXNzIEN7CiAgICBwcml2YXRlOgogICAgcHVibGljOgogICAgICAgIEMoKXtjb3V0IDw8ICJDMCAiIDt9OwogICAgICAgIEMoY29uc3QgQyYpIHsgY291dCA8PCAiQ0MgIjt9OwogICAgICAgIEMmIG9wZXJhdG9yPSAoY29uc3QgQyYpIHsgY291dCA8PCAiTz0gIjsgcmV0dXJuICp0aGlzO307CiAgICB9OwoKQyBmdW4oQyBhKSB7IHJldHVybiBhO30KCmludCBtYWluKCl7CiAgICBDIGM7CiAgICBjb3V0IDw8IGVuZGw7CiAgICBmdW4oYyk7CiAgICBjb3V0IDw8IGVuZGw7CiAgICBDIHkgPSBmdW4oYyk7CiAgICBjb3V0IDw8IGVuZGw7CiAgICBDIHo7IHogPSBmdW4oYyk7CiAgICBjb3V0IDw8IGVuZGw7CiAgICBmdW4oZnVuKGMpKTsKfQo=