#include using namespace std; int main() { int C, P, G, T; cin >> C; P = 2 * C; G = 2 * P; T = C + P + G; cout << T; return 0; }