def foo(S): """ 文字列 S を適切に並び替えることで、文字列 kyoprotenkei90 を作ることができますか? """ S_list = list(S) try: assert S_list.count('k') == 2, None assert S_list.count('y') == 1, None assert S_list.count('o') == 2, None assert S_list.count('p') == 1, None assert S_list.count('r') == 1, None assert S_list.count('t') == 1, None assert S_list.count('e') == 2, None assert S_list.count('n') == 1, None assert S_list.count('i') == 1, None assert S_list.count('9') == 1, None assert S_list.count('0') == 1, None except AssertionError: return 'No' return 'Yes' if __name__ == '__main__': S = input() print(foo(S))