n = int(input()) print("Yes" if n <= 7 else "No")