import java.util.*; public class Main{ static StringBuilder sb = new StringBuilder(""); public static void main(String[] args) { Scanner sc = new Scanner(System.in); long N = sc.nextLong(); double jou = Math.pow(10.0,N); long joui = (long)jou; for (long i=1;i<=joui ;i++ ) { if (joui%i==0) { System.out.println(i); }else{ } } } }