#include using namespace std; int main(){ int M,D; cin>>M>>D; cout<