import java.util.stream.*;
class Ideone {
Stream.iterate(0, n -> n + 3)
.map(x -> x * 2)
.limit(10)
.
forEach(System.
out::println
); }
}
aW1wb3J0IGphdmEudXRpbC5zdHJlYW0uKjsKCmNsYXNzIElkZW9uZSB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24gewoJCVN0cmVhbS5pdGVyYXRlKDAsIG4gLT4gbiArIDMpCgkJCS5tYXAoeCAtPiB4ICogMikKCQkJLmxpbWl0KDEwKQoJCQkuZm9yRWFjaChTeXN0ZW0ub3V0OjpwcmludGxuKTsKCX0KfQ==