#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int N; cin>>N; cout<<(N%8==0||N%6==0?"Yes\n":"No\n"); }