import java.util.*;
import java.util.Collections;
class HelloWorld {
public static void main
(String[] args
) { ArrayList<Integer> lista = new ArrayList<>();
for (int i = 0; i < 50; i++) {
lista.add(i);
}
seleciona(lista);
for (int i = 0; i < 50; i++) {
System.
out.
println(lista.
get(i
)); }
}
public static void seleciona(ArrayList<Integer> arraylist) {
}
}
//http://pt.stackoverflow.com/q/183808/101
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS51dGlsLkNvbGxlY3Rpb25zOwoKY2xhc3MgSGVsbG9Xb3JsZCB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgewoJCSBBcnJheUxpc3Q8SW50ZWdlcj4gbGlzdGEgPSBuZXcgQXJyYXlMaXN0PD4oKTsKCQkgZm9yIChpbnQgaSA9IDA7IGkgPCA1MDsgaSsrKSB7CgkJIAlsaXN0YS5hZGQoaSk7CgkJIH0KCQkgc2VsZWNpb25hKGxpc3RhKTsKCQkgZm9yIChpbnQgaSA9IDA7IGkgPCA1MDsgaSsrKSB7CgkJIAlTeXN0ZW0ub3V0LnByaW50bG4obGlzdGEuZ2V0KGkpKTsKCQkgfQoJfQoJcHVibGljIHN0YXRpYyB2b2lkIHNlbGVjaW9uYShBcnJheUxpc3Q8SW50ZWdlcj4gYXJyYXlsaXN0KSB7CiAgICAgICAgQ29sbGVjdGlvbnMuc2h1ZmZsZShhcnJheWxpc3QpOwogICAgfQp9CgovL2h0dHA6Ly9wdC5zdGFja292ZXJmbG93LmNvbS9xLzE4MzgwOC8xMDE=