#include #include long str_to_int(char st[]) { long x = 0; int i; for (i = 0; i < strlen(st); i++) { if (st[i] != '.') { x *= 10; x += st[i] - '0'; } else x *= 100; } return x; } int main(void) { char s0[12], s1[12]; long n0, n1; scanf("%s", s0); scanf("%s", s1); n0 = str_to_int(s0); n1 = str_to_int(s1); if (n1 <= n0) printf("YES\n"); else printf("NO\n"); return 0; }