#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;
}