Problem D: 一个整数n能够被2、3、5、7中哪些数整除
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:37
Solved:19
Description
从键盘读入一个整数 n ,请问 n 能够被 2 、 3 、 5 、 7 中哪些数整除,从小到大依次输出 n 能够整除的数,每行一个。
如: 输入: 20
输出: 2
5
Input
一个整数 n( n≤10000 )。
Output
n 能够整除的数。
Sample Input Copy
20
Sample Output Copy
2
5