s="Yes" if input() in ("0","4","10") else "No" print(s)