#include <iostream>
using namespace std;
int fun(int t[]) {
t[0] += t[1];
return t[0];
}
int main() {
int t[] = { 5,6,7 };
cout << fun(t);
cout << t[0];
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwogICAgCmludCBmdW4oaW50IHRbXSkgewogICAgdFswXSArPSB0WzFdOwogICAgcmV0dXJuIHRbMF07Cn0KICAgIAppbnQgbWFpbigpIHsKICAgIGludCB0W10gPSB7IDUsNiw3IH07CiAgICBjb3V0IDw8IGZ1bih0KTsKICAgIGNvdXQgPDwgdFswXTsKICAgIHJldHVybiAwOwp9Cgo=