#include #include int main() { int a, b, c, k; std::cin >> a; std::cin >> b; std::cin >> k; std::cin >> c; int x = pow(2, k); x = x * k; x = x / 2; std::cout << x; return 0; }