/* 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
{
{
ArrayList<List<Integer>> group = new ArrayList<>();
group.
add(Arrays.
asList(2,
3,
4)); group.
add(Arrays.
asList(4,
5,
6)); group.
add(Arrays.
asList(7,
8,
9)); setValue(group, 1, 1, 75);
}
public static void setValue(List<List<Integer>> list, int row, int column, int value){
list.get(row).set(column, value);
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCUFycmF5TGlzdDxMaXN0PEludGVnZXI+PiBncm91cCA9IG5ldyBBcnJheUxpc3Q8PigpOwoJCWdyb3VwLmFkZChBcnJheXMuYXNMaXN0KDIsIDMsIDQpKTsKCQlncm91cC5hZGQoQXJyYXlzLmFzTGlzdCg0LCA1LCA2KSk7CgkJZ3JvdXAuYWRkKEFycmF5cy5hc0xpc3QoNywgOCwgOSkpOwoJCXNldFZhbHVlKGdyb3VwLCAxLCAxLCA3NSk7CgkJU3lzdGVtLm91dC5wcmludGxuKGdyb3VwKTsKCX0KCQoJcHVibGljIHN0YXRpYyB2b2lkIHNldFZhbHVlKExpc3Q8TGlzdDxJbnRlZ2VyPj4gbGlzdCwgaW50IHJvdywgaW50IGNvbHVtbiwgaW50IHZhbHVlKXsKCQlsaXN0LmdldChyb3cpLnNldChjb2x1bW4sIHZhbHVlKTsKCX0KfQ==