#include <iostream>
template <typename T>
int plus(T &a,T &b);
int main()
{
	int i=2;
	int j=4;
	std::cout<< "сумма "<<i<<" и "<<j<<"равна "<<plus(i,j);
	return 0;
}
template <typename T>
int plus(T &a,T &b)
{
	T temp;
	temp=a+b;
	return temp;
}
