#include <iostream>
using namespace std;
int global = 10;
void func(int &x, int y)
{
x = x - y;
y = x * 10;
cout << x << " , " << y << '\n';
}
int main()
{
int global = 7;
func(::global, global);
cout << global << " , " << ::global << '\n';
func(global, ::global);
cout << global << " , " << ::global << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBnbG9iYWwgPSAxMDsKCnZvaWQgZnVuYyhpbnQgJngsIGludCB5KQp7CiAgICB4ID0geCAtIHk7CiAgICB5ID0geCAqIDEwOwogICAgY291dCA8PCB4IDw8ICIgLCAiIDw8IHkgPDwgJ1xuJzsKfQoKaW50IG1haW4oKQp7CiAgICBpbnQgZ2xvYmFsID0gNzsKCiAgICBmdW5jKDo6Z2xvYmFsLCBnbG9iYWwpOwogICAgY291dCA8PCBnbG9iYWwgPDwgIiAsICIgPDwgOjpnbG9iYWwgPDwgJ1xuJzsKICAgIGZ1bmMoZ2xvYmFsLCA6Omdsb2JhbCk7CiAgICBjb3V0IDw8IGdsb2JhbCA8PCAiICwgIiA8PCA6Omdsb2JhbCA8PCAnXG4nOwp9Cg==