#include int main(){ int x; std::cin >> x; std::cout << ((x==0 || x==4 || x==10) ? "Yes" : "No") << std::endl; }