#include using namespace std; int main() { int x; cin >> x; int a[3] = {0, 2, 5}; int b[3] = {0, 2, 5}; for (int i = 0; i < 3; i++) { for (int j = 0; j < 3; j++) { int sum = a[i] + b[j]; if (sum == x && i == j) { cout << "Yes" << endl; return 0; } } } cout << "No" << endl; return 0; }