N=int(input()) if N==5: ans="Yes" else: ans="No" print(ans)