#include #include using namespace std; int main(){ int y,m,d; cin>>y>>m>>d; cout<<(tuple(1989,1,8)<=tie(y,m,d)&&tie(y,m,d)<=tuple(2019,4,30)?"Yes":"No")<