#include <cstdio>
#include <cstring>
#include <iostream>
using namespace std;
const static int days[2][12] = {
{31,28,31,30,31,30,31,31,30,31,30,31},
{31,29,31,30,31,30,31,31,30,31,30,31},
};
string s1,s2;
bool isRunYear(int year)
{
if(year % 4 == 0 && year % 100 != 0 || year % 400 == 0)
return true;
else
return false;
}
int date_date(string s1,string s2)
{
string start = s1 < s2 ? s1 : s2;
string end = s2 > s1 ? s2 : s1;
}
int main()
{
cin >> s1 >> s2;
cout << date_date(s1,s2) << endl;
}