print("Yes" if int(input()) > 6 else "No")