/* package whatever; // don't place package name! */
import java.util.stream.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void main
(String[] args
) {
IntStream.
range(1,
10).
filter(a
-> a
% 2 == 0).
peek(System.
out::println
); }
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC5zdHJlYW0uKjsKCi8qIE5hbWUgb2YgdGhlIGNsYXNzIGhhcyB0byBiZSAiTWFpbiIgb25seSBpZiB0aGUgY2xhc3MgaXMgcHVibGljLiAqLwpjbGFzcyBJZGVvbmUKewoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpCgl7CgkJSW50U3RyZWFtLnJhbmdlKDEsIDEwKS5maWx0ZXIoYSAtPiBhICUgMiA9PSAwKS5wZWVrKFN5c3RlbS5vdXQ6OnByaW50bG4pOwoJfQp9