#include #include #include #include using namespace std; int main() { int a[] = {7,4,4,4,5,6,4,2,3,1}; int n; cin >> n; cout << a[n - 1] << endl; return false; }