//
// Supporting material for lecture 3
// - integers, overflow
// - what happens when we use long
//

public class Overflow {
    public static void main(String[] args){
	long n = 1;
	int m = Integer.parseInt(args[0]);
	for (int i=0;i<m;i++){
	    n = n * 10;
	    System.out.println(n);
	}
    }
}
//
// java Overflow 5
// java Overflow 10
//
// change int to long and see what happens
// also try float and double
//