#include <iostream>
#include <string>
using namespace std;
template<class T>
T maxx(T a, T b) {
return a > b ? a : b;
}
int main() {
cout << maxx("bdc", "bcd");