#include <iostream>
using namespace std;
int main() {
string str1 = "mango";
string str2 = "apple";
int comparison = str1.compare(str2);
if (comparison == 0) {
cout << "Strings are equal." << endl;
} else if (comparison > 0) {
cout << "First string is greater than the second." << endl;
} else {
cout << "First string is less than the second." << endl;
}
}