#include using namespace std; int main(){ int x; cin >> x; int ans[11] = { 0, 0, 2, 5, 4, 15, 14, 25, 24, 35, 34 }; cout << ans[x] << endl; return 0; }