#include using namespace std; int main(){ int i; cin >> i; cout << 17 * i << endl; return 0; }