print("Yes" if "4" <= input() < "6" else "No")