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