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