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