public class 循环 {
/** * @param args */
public static void main(String[] args) {
// TODO Auto-generated method stub
int m=8,n=m,sum=0;
for(int i=0;i<8;i++)
{
sum=sum+n;
n=n*10+m;
}
System.out.print(sum);