#include <iostream>

using namespace std;

class C {
	public:
		int n;

		C()
		{
			n = 0;
			cout << "Constructor: " << n << endl;
		}

		void operator ()()
		{
			cout << "Operator: " << n << endl;
			n++;
		}

		void operator ()(int x)
		{
			cout << "Constructor: " << n << endl;
			n += x;
		}
};

int main()
{
	C ob;

	ob();
	ob(5);
	ob();

	return 0;
}

