#include using namespace std; int main(void) { double a, b = 316, c = 52; cin >> a; for (double i = 1; i < a; i++) { b += c; } cout << b << endl; }