Your friend likes factoring numbers. In fact, your friend's favourite activity is coming up with numbers, and calculating its factors. One day, they decide that factoring numbers by hand takes too much effort, and entrusts you to write a program for them to do so.
Given an integer
Note: You may only submit to this problem in Python 3.
Input Specification
The first line of input contains a single integer
Output Specification
Output the factors of
Scoring
Your score will be computed based on the length of your source code, the shorter the better. For an
- if
, you will receive the full points. - if
, you will receive points. - if
, you will receive points.
Sample Input
70
Sample Output
1
2
5
7
10
14
35
70
Comments
solved this on Feb 9th apparently, but no submissions on Feb 9th?