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