/* 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 Ideone
{
public static List<Integer> get(List<Integer> tt) {
List<Integer> arr = new ArrayList<>();
arr.add(1);arr.add(2);arr.add(3);
tt = arr;
return tt;
}
{
List<Integer> arr = new ArrayList<>();
arr.add(1);arr.add(2);arr.add(3);arr.add(4);
arr = get(arr);
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCQoJcHVibGljIHN0YXRpYyBMaXN0PEludGVnZXI+IGdldChMaXN0PEludGVnZXI+IHR0KSB7CgkJTGlzdDxJbnRlZ2VyPiBhcnIgPSBuZXcgQXJyYXlMaXN0PD4oKTsKCQlhcnIuYWRkKDEpO2Fyci5hZGQoMik7YXJyLmFkZCgzKTsKCQl0dCA9IGFycjsKCQlyZXR1cm4gdHQ7Cgl9CgkKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCUxpc3Q8SW50ZWdlcj4gYXJyID0gbmV3IEFycmF5TGlzdDw+KCk7CgkJYXJyLmFkZCgxKTthcnIuYWRkKDIpO2Fyci5hZGQoMyk7YXJyLmFkZCg0KTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oYXJyKTsKCQlhcnIgPSBnZXQoYXJyKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4oYXJyKTsKCX0KfQ==