S=sorted(input()) S="".join(S) R=['No','Yes'][S=='09eeikknooprty'] print(R)