def I():return int(input()) def MAP():return map(int,input().split()) def LIST(): return list(map(int,input().split())) def S():return input() s=S() sx='kyoprotenkei90' s=list(s) sx=list(sx) print('Yes' if sorted(s)==sorted(sx) else 'No')