#include <iostream> using namespace std; int main() { int x; cin >> x; // Write your dynamic allocation code here int* alloc_mem_x = new int(x); std::cout << *alloc_mem_x; delete(alloc_mem_x); return 0; }