'use strict'
function main(input) {
var counter = function(str,seq){
    return str.split(seq).length - 1;
}

var str = input;

var A = counter(str,"A"); 
var B = counter(str,"B"); 
var C = counter(str,"C"); 
var D = counter(str,"D");
var E = counter(str,"E"); 
var F = counter(str,"F");
var G = counter(str,"G"); 
var H = counter(str,"H"); 
var I = counter(str,"I"); 
var J = counter(str,"J");
var K = counter(str,"K"); 
var L = counter(str,"L");
var M = counter(str,"M"); 
var N = counter(str,"N");
var O = counter(str,"O"); 
var P = counter(str,"P");
var Q = counter(str,"Q"); 
var R = counter(str,"R"); 
var S = counter(str,"S"); 
var T = counter(str,"T");
var U = counter(str,"U"); 
var V = counter(str,"V");
var W = counter(str,"W");
var X = counter(str,"X"); 
var Y = counter(str,"Y"); 
var Z = counter(str,"Z"); 
  
if (A==1||B==1||C==1||D==1||E==1||F==1||G==1||H==1||I==1||J==1||K==1||L==1||M==1||N==1||O==1||P==1||Q==1||R==1||S==1||T==1||U==1||V==1||W==1||X==1||Y==1||Z==1){
   console.log("NO")
 }else{
   console.log("YES")
 }
}