#include <iostream>
using namespace std;
template <typename T, int N>
struct vec{
// bla bla bla
int getSize(){
return N;
}
};
template <typename T, int N, int M>
vec<T, N + M> plusplus(vec<T, N> v1, vec<T, M> v2){
return vec<T, N + M>();
}
int main() {
vec<int, 1> v1;
vec<int, 3> v2;
cout << plusplus(v1, v2).getSize();
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdGVtcGxhdGUgPHR5cGVuYW1lIFQsIGludCBOPgpzdHJ1Y3QgdmVjewoJLy8gYmxhIGJsYSBibGEKCWludCBnZXRTaXplKCl7CgkJcmV0dXJuIE47Cgl9Cn07Cgp0ZW1wbGF0ZSA8dHlwZW5hbWUgVCwgaW50IE4sIGludCBNPgp2ZWM8VCwgTiArIE0+IHBsdXNwbHVzKHZlYzxULCBOPiB2MSwgdmVjPFQsIE0+IHYyKXsKCXJldHVybiB2ZWM8VCwgTiArIE0+KCk7Cn0KCmludCBtYWluKCkgewoJdmVjPGludCwgMT4gdjE7Cgl2ZWM8aW50LCAzPiB2MjsKCWNvdXQgPDwgcGx1c3BsdXModjEsIHYyKS5nZXRTaXplKCk7CglyZXR1cm4gMDsKfQ==