#include <stdio.h> int main() { int y, m ,d,y1,m1,d1; scanf("%d %d %d %d %d %d",&y,&m,&d,&y1,&m1,&d1); if(y1-y>0){ printf("yes"); //同年判断月 }else if(y1-y==0&&m1-m>0){ printf("yes"); //同年同月判断日 }else if(y1-y==0&&...