#include<iostream>
using namespace std;
int main(){
  int n = 6;
  int *ptr = &n;
  *ptr = 10;
  cout << *ptr << " " << n << endl;
  return 0;
}