#include <stdio.h>
int main(void) {
int i, j, a, w;
while(i--){
for(j=0; j<9; j++){
w-=a;
}
printf("%s\n", (w
<0)?"NO":"YES"); }
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBtYWluKHZvaWQpIHsKCWludCBpLCBqLCBhLCB3OwoJc2NhbmYoIiVkIiwgJmkpOwoJd2hpbGUoaS0tKXsKCQlzY2FuZigiJWQiLCAmdyk7CgkJZm9yKGo9MDsgajw5OyBqKyspewoJCQlzY2FuZigiJWQiLCAmYSk7CgkJCXctPWE7CgkJfQoJCXByaW50ZigiJXNcbiIsICh3PDApPyJOTyI6IllFUyIpOwoJfQoJcmV0dXJuIDA7Cn0K