/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
public static void array() {
int array_variable[]=new int[10];
for(int i=0;i<10;++i) {
array_variable[i]=i/2;
array_variable[i]++;
System.
out.
print(array_variable
[i
]); i++;
}
}
{
array();
}
}
LyogcGFja2FnZSB3aGF0ZXZlcjsgLy8gZG9uJ3QgcGxhY2UgcGFja2FnZSBuYW1lISAqLwoKaW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgovKiBOYW1lIG9mIHRoZSBjbGFzcyBoYXMgdG8gYmUgIk1haW4iIG9ubHkgaWYgdGhlIGNsYXNzIGlzIHB1YmxpYy4gKi8KY2xhc3MgSWRlb25lCnsKCQoJcHVibGljICBzdGF0aWMgdm9pZCBhcnJheSgpIHsKICAgIGludCBhcnJheV92YXJpYWJsZVtdPW5ldyBpbnRbMTBdOwogICAgZm9yKGludCBpPTA7aTwxMDsrK2kpICB7CiAgICAgICAgYXJyYXlfdmFyaWFibGVbaV09aS8yOwogICAgICAgIGFycmF5X3ZhcmlhYmxlW2ldKys7CiAgICAgICAgU3lzdGVtLm91dC5wcmludChhcnJheV92YXJpYWJsZVtpXSk7CiAgICAgICAgaSsrOwogICAgfQogICAgfQoJcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpIHRocm93cyBqYXZhLmxhbmcuRXhjZXB0aW9uCgl7CgkJYXJyYXkoKTsKCiAgICAgICAgfQoJfQo=
Y2xhc3MgYXJyYXlfb3V0cHV0IAp7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmcgYXJnc1tdKSAKICAgIHsKICAgICAgICBpbnQgYXJyYXlfdmFyaWFibGUgW10gPSBuZXcgaW50WzEwXTsKICBmb3IgKGludCBpID0gMDsgaSAmbHQ7IDEwOyArK2kpIAogICAgICAgIHsKICAgICAgICAgICAgYXJyYXlfdmFyaWFibGVbaV0gPSBpLzI7CiAgICAgICAgICAgIFN5c3RlbS5vdXQucHJpbnQoYXJyYXlfdmFyaWFibGVbaV0gKyAmcXVvdDsgJnF1b3Q7KTsKICAgICAgICAgICAgaSsrOwogICAgICAgIH0KICAgIH0gCn0=
class array_output
{
public static void main(String args[])
{
int array_variable [] = new int[10];
for (int i = 0; i < 10; ++i)
{
array_variable[i] = i/2;
System.out.print(array_variable[i] + " ");
i++;
}
}
}