public class test1 {
public static void main(String[] args) {
long x,y=8,a=8;
for(x=1;x<10;x++) {
a=a*10+8;
y=y+a;
}
System.out.println(y);
}
}
public class test1 {
public static void main(String[] args) {
long x,y=8,a=8;
for(x=1;x<10;x++) {
a=a*10+8;
y=y+a;
}
System.out.println(y);
}
}