From Thornhill S.S.
About
BETTER THAN JONATHAN
'import java.util.Scanner;
import java.util.stream.*;
import java.math.*;
public class HELLO {
public static void main(String[] args){
Scanner bam = new Scanner(System.in);
int thenumber = bam.nextInt();
int numberoftimes = bam.nextInt();
int[] box = new int[numberoftimes + 1];
for(int i = 0; i < (numberoftimes + 1); i++){
int h = i;
double j = Math.pow(10, h);
int y = (int)Math.round(j);
int u = y*thenumber;
box[i] = u;
}
int jam = IntStream.of(box).sum();
System.out.println(jam);
}
}