#include <iostream>
using std::cout;
using std::endl;
int function(int &a, int &b, int &c);
int main()
{
int x = 9, y = 78, z = 991;
cout << function(x, y, z) << endl;
cout << x << " " << y << " " << z << endl;
return 0;
}
int function(int &a, int &b, int &c)
{
a = b = c = 100;
return a + b + c;
}
/*
run:
300
100 100 100
*/