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