#include<cstdio>
#include<array>
#include<algorithm>
int main(){
std::array<int,9> a={1,2,3,5,6,9,10,13,17};
int n;
scanf("%d",&n);
puts(std::find(a.cbegin(),a.cend(),n)==a.cend()?"Yes":"No");
return 0;
}
