#include <iostream>
using namespace std;

int main() {
   int n, x;
   cin >> n;
   x = n * 1024 * 1024 / 4;
   cout << x << endl;

   return 0;
}
// 64 位输出请用 printf("%lld")