Thừa Số Nguyên Tố

PDF

Submit solution

Points: 10.00 (partial)
Time limit: 1.0s
Memory limit: 64M
Input: stdin
Output: stdout

Authors:
Problem types
Allowed languages
C, C++, Java, Pascal, Python, Scratch, TEXT

Yêu cầu

Nhập vào số nguyên ~n~, in ra tất cả thừa số nguyên tố khác nhau của ~n~.

Dữ liệu

Một dòng duy nhất, gồm số nguyên ~n~ ~(0< n\le 10^3)~.

Kết quả

Ghi ra tất cả thừa số nguyên tố khác nhau của ~n~ theo thứ tự tăng dần, mỗi số cách nhau một khoảng trắng.

Input

10

Output

2 5

Comments

Please read the guidelines before commenting.


There are no comments at the moment.