#include int main() { unsigned x; std::cin >> x; std::cout << (x * 8) << std::endl; return 0; }