9 lines
143 B
C++
9 lines
143 B
C++
#include <iostream>
|
|
#include <cmath>
|
|
|
|
int main() {
|
|
int n;
|
|
std::cin >> n;
|
|
std::cout << (int) pow(((1 << n) + 1), 2);
|
|
return 0;
|
|
} |