#include <iostream>
template <class T, typename std::enable_if<std::is_integral<T>::value>::type* = nullptr>
T sum(T a,T b)
{
return a + b;
}
int main() {
// your code goes here
int a{2}, b{3};
std::cout << sum(a, b);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdGVtcGxhdGUgPGNsYXNzIFQsIHR5cGVuYW1lIHN0ZDo6ZW5hYmxlX2lmPHN0ZDo6aXNfaW50ZWdyYWw8VD46OnZhbHVlPjo6dHlwZSogPSBudWxscHRyPgpUIHN1bShUIGEsVCBiKQp7CglyZXR1cm4gYSArIGI7Cn0KCgppbnQgbWFpbigpIHsKCS8vIHlvdXIgY29kZSBnb2VzIGhlcmUKCWludCBhezJ9LCBiezN9OwoJCglzdGQ6OmNvdXQgPDwgc3VtKGEsIGIpOwoJCgkKCXJldHVybiAwOwp9