/* 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
{
{
int[] numbers1 = new int[4];
numbers1[0]=10;
numbers1[1]=20;
numbers1[2]=30;
int[] numbers2 = {10, 20, 30, 40};
int[] numbers3 = new int[]{10, 20, 30, 40};
System.
out.
println("System.out.println(numbers1[0]);"); System.
out.
println(numbers1
[0]);
System.
out.
println("System.out.println(numbers1[3]);"); System.
out.
println(numbers1
[3]);
System.
out.
println("System.out.println(numbers1.length);"); System.
out.
println(numbers1.
length); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgoJewoJCWludFtdIG51bWJlcnMxID0gbmV3IGludFs0XTsKCQkKCQlTdHJpbmdbXSBzdHJpbmdzID0gbmV3IFN0cmluZ1s0XTsKCQkKCQludW1iZXJzMVswXT0xMDsKCQludW1iZXJzMVsxXT0yMDsKCQludW1iZXJzMVsyXT0zMDsKCQkKCQlpbnRbXSBudW1iZXJzMiA9IHsxMCwgMjAsIDMwLCA0MH07CgkJaW50W10gbnVtYmVyczMgPSBuZXcgaW50W117MTAsIDIwLCAzMCwgNDB9OwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbigiU3lzdGVtLm91dC5wcmludGxuKG51bWJlcnMxWzBdKTsiKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4obnVtYmVyczFbMF0pOwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbigiU3lzdGVtLm91dC5wcmludGxuKG51bWJlcnMxWzNdKTsiKTsKCQlTeXN0ZW0ub3V0LnByaW50bG4obnVtYmVyczFbM10pOwoJCQoJCVN5c3RlbS5vdXQucHJpbnRsbigiU3lzdGVtLm91dC5wcmludGxuKG51bWJlcnMxLmxlbmd0aCk7Iik7CgkJU3lzdGVtLm91dC5wcmludGxuKG51bWJlcnMxLmxlbmd0aCk7Cgl9Cn0=