import sys, math input = lambda: sys.stdin.readline()[:-1] def MI(): return map(int, input().split()) inf = 10**18 n,=MI() if n==45: print("Yes") else: print("No")