public class Main {
public static void main
(String[] args
) { int[][] array=
{
{1},
{1, 2, 3},
{1, 2, 3, 4, 5},
{1, 2}
};
for (int[] second : array) {
for (int entry : second) {
}
}
}
}
cHVibGljIGNsYXNzIE1haW4gewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgIGludFtdW10gYXJyYXk9CiAgICAgICAgewogICAgICAgICAgICB7MX0sCiAgICAgICAgICAgIHsxLCAyLCAzfSwKICAgICAgICAgICAgezEsIDIsIDMsIDQsIDV9LAogICAgICAgICAgICB7MSwgMn0KICAgICAgICB9OwoKICAgICAgICBmb3IgKGludFtdIHNlY29uZCA6IGFycmF5KSB7CiAgICAgICAgICBmb3IgKGludCBlbnRyeSA6IHNlY29uZCkgewogICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihlbnRyeSk7CiAgICAgICAgICB9CiAgICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oKTsKICAgICAgICB9CiAgICB9Cn0=