import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
class App {
@FunctionalInterface
private interface PrintFunction { public void execute(); }
public static void main
(String[] args
) { List<PrintFunction> functions = IntStream.range(0, 368)
.
mapToObj(num
-> (PrintFunction
) () -> System.
out.
println(num
)) .collect(Collectors.toList());
functions.forEach(PrintFunction::execute);
}
}
aW1wb3J0IGphdmEudXRpbC5MaXN0OwppbXBvcnQgamF2YS51dGlsLnN0cmVhbS5Db2xsZWN0b3JzOwppbXBvcnQgamF2YS51dGlsLnN0cmVhbS5JbnRTdHJlYW07CgpjbGFzcyBBcHAgewoKCUBGdW5jdGlvbmFsSW50ZXJmYWNlCglwcml2YXRlIGludGVyZmFjZSBQcmludEZ1bmN0aW9uIHsgcHVibGljIHZvaWQgZXhlY3V0ZSgpOyB9CgoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewoJCUxpc3Q8UHJpbnRGdW5jdGlvbj4gZnVuY3Rpb25zID0gSW50U3RyZWFtLnJhbmdlKDAsIDM2OCkKCQkJCS5tYXBUb09iaihudW0gLT4gKFByaW50RnVuY3Rpb24pICgpIC0+IFN5c3RlbS5vdXQucHJpbnRsbihudW0pKQoJCQkJLmNvbGxlY3QoQ29sbGVjdG9ycy50b0xpc3QoKSk7CgoJCWZ1bmN0aW9ucy5mb3JFYWNoKFByaW50RnVuY3Rpb246OmV4ZWN1dGUpOwogICAgfQp9