/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class MutableArray
{
private int[] values;
public int[] getValues() {
return values;
}
{
assert false;
// your code goes here
MutableArray ma = new MutableArray();
assert ma.getValues() == null;
int[] arrayRef = ma.getValues();
assert arrayRef == null;
arrayRef = new int[5];
arrayRef[0] = 42;
assert arrayRef != null;
assert arrayRef[0] == 42;
assert ma.getValues() != null;
assert ma.getValues()[0] == 42;
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgTXV0YWJsZUFycmF5CnsKCXByaXZhdGUgaW50W10gdmFsdWVzOwogICAgcHVibGljIGludFtdIGdldFZhbHVlcygpIHsKICAgICAgICByZXR1cm4gdmFsdWVzOwogICAgfQoJCglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKCQlhc3NlcnQgZmFsc2U7CgkJCgkJLy8geW91ciBjb2RlIGdvZXMgaGVyZQoJCU11dGFibGVBcnJheSBtYSA9IG5ldyBNdXRhYmxlQXJyYXkoKTsKICAgICAgICBhc3NlcnQgbWEuZ2V0VmFsdWVzKCkgPT0gbnVsbDsKICAgICAgICAKICAgICAgICBpbnRbXSBhcnJheVJlZiA9IG1hLmdldFZhbHVlcygpOwogICAgICAgIGFzc2VydCBhcnJheVJlZiA9PSBudWxsOwogICAgICAgIAogICAgICAgIGFycmF5UmVmID0gbmV3IGludFs1XTsKICAgICAgICBhcnJheVJlZlswXSA9IDQyOwogICAgICAgIGFzc2VydCBhcnJheVJlZiAhPSBudWxsOwogICAgICAgIGFzc2VydCBhcnJheVJlZlswXSA9PSA0MjsKICAgICAgICAKICAgICAgICBhc3NlcnQgbWEuZ2V0VmFsdWVzKCkgIT0gbnVsbDsKICAgICAgICBhc3NlcnQgbWEuZ2V0VmFsdWVzKClbMF0gPT0gNDI7Cgl9Cn0=