public class Zhishu {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("shuru");
int x = sc.nextInt();
StringBuffer sb = new StringBuffer();
sb.append(x).append("=");
for (int i = 2; i <= x; i++) {
while (x % i == 0) {
if (x % i == 0) {
x /= i;
sb.append(i).append("*");
}
}
}
System.out.println(sb.substring(0, sb.length() - 1));
}
}
|