#include <iostream>
using namespace std;

// общий код
template <int N, int M> struct Matrix_ {
	double arr[N][M];
	Matrix_() {
		arr[0][0] = 1;
	}
	
};

// Специализация

template <int N, int M> struct Matrix : public Matrix_<N, M> {};

template<>
struct Matrix<4,4> : public Matrix_<4,4> {
	Matrix& yoba() {
		return (*this);
	}
};

int main() {
	// your code goes here
	Matrix<1,2> m1;
	Matrix<4,4> m2;
	m2.yoba();
	return 0;
}