+#include <stdio.h>
+#include <math.h>
+
+int next_teiler(int x) {
+ int i;
+ if(x==1) {
+ printf("\ndone\n");
+ exit(0);
+ }
+ else {
+ for(i=2;i<=x;i++) {
+ if(x%i==0) {
+ printf("%d ",i);
+ next_teiler(x/i);
+ }
+ }
+ }
+}
+
+int main(int argc,char *argv[]) {
+next_teiler(atoi(argv[1]));
+return 0;
+}