#include <iostream>
#include<string>
using namespace std;
template <class T>
T Large(T n1, T n2)
{
	return (n1>n2) ? n1 : n2;
}
int main()
{
	int i1, i2;
	float f1, f2;
	char c1, c2;
	string s1, s2;
	/*cout << "Enter two integers: ";
	cin >> i1 >> i2;
	cout << Large(i1, i2) << " is larger.";
	cout << "\n\nEnter two floating-point numbers: ";
	cin >> f1 >> f2;
	cout << Large(f1, f2) << " is larger.";
	cout << "\n\nEnter two characters: ";
	cin >> c1 >> c2;
	cout << Large(c1, c2) << " has larger ASCII value.";*/
	cout << "\n\nEnter two strings: ";
	cin >> s1 >> s2;
	cout << Large(s1, s2) << " has larger string value.";

	return 0;
}