#include <iostream> #include<vector> #include<string> using namespace std; int main() { string str1,str2; cin>>str1>>str2; cout<<(str1>str2); }