#include using namespace std; int main() { int m, g; cin >> m; g = m*6; cout << g << endl; return 0; }