#include using namespace std; int n; int main() { cin >> n; cout << 3 * (n/2+1+2*((n-1)/2)); return 0; }