#include <iostream>
using namespace std;

struct A
{
	static int x;
};

template<class>
struct S
{
	int& get() { return A::x; }
};

int A::x = 0;

int main()
{
	S<int> i1, i2;
	S<long> l;
	
	cout << i1.get() << " " << i2.get() << " " << l.get() << "\n";
	i1.get()++;
	cout << i1.get() << " " << i2.get() << " " << l.get() << "\n";
}