#include <bits/stdc++.h>
using namespace std;

int main() 
{
    int MB;
    cin>>MB;
    cout<<MB*1024*1024/4;
    return 0;
}