a[99],i,j=128;main(s){for(;i=~getchar();i+11||(s=-1))a[j+i]+=s;for(;!a[--j];);i=!puts(j>0?"NO":"YES");}