#include <iostream>

using namespace std;


struct A
{
	A(int x)
	{
		x = x;
	}

	int x = 42;
};

struct B
{
	B(int x)
	{
		this->x = x;
	}

	int x = 42;
};

struct C
{
	C(int x) : x(x) {}
	int x = 42;
};

int main()
{
	A a(1);
	B b(1);
	C c(1);

	cout << a.x << endl;
	cout << b.x << endl;
	cout << c.x << endl;
}
