#include <iostream>
#include <string>
using namespace std;
template<typename T>
T findSum(T value,T value2) {
T result;
result=value+value2;
return result;
}
int main() {
string str1,str2;
str1="fi";
str2="sh";
cout<<findSum(5,4)<<endl;
cout<<findSum(3.14,5.67)<<endl;
cout<<findSum(str1,str2)<<endl;
cout<<findSum('A','6');
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8c3RyaW5nPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwp0ZW1wbGF0ZTx0eXBlbmFtZSBUPgpUIGZpbmRTdW0oVCB2YWx1ZSxUIHZhbHVlMikgewogICAgVCByZXN1bHQ7CiAgICByZXN1bHQ9dmFsdWUrdmFsdWUyOwogICAgcmV0dXJuIHJlc3VsdDsKfQppbnQgbWFpbigpIHsKCXN0cmluZyBzdHIxLHN0cjI7CglzdHIxPSJmaSI7CglzdHIyPSJzaCI7CiAgICBjb3V0PDxmaW5kU3VtKDUsNCk8PGVuZGw7CiAgICBjb3V0PDxmaW5kU3VtKDMuMTQsNS42Nyk8PGVuZGw7CiAgICBjb3V0PDxmaW5kU3VtKHN0cjEsc3RyMik8PGVuZGw7CiAgICBjb3V0PDxmaW5kU3VtKCdBJywnNicpOwoJcmV0dXJuIDA7Cn0=