PROGRAMMING:Judge the completion
Judge whether a positive integer is complete. Definition of completion: the sum of all factors (including 1) of a number is equal to itself, and this number is completion. For example, 6 = 1 + 2 + 3, 6 is the perfect number.
###Input format:
For example, enter a positive integer 6
###Output format:
Output:
6=1+2+3
###Input example:
Here is a set of inputs. For example:
```in
six
```
###Output example:
The corresponding output is given here. For example:
```out
6=1+2+3
```
###Input example:
Here is a set of inputs. For example:
```in
twenty-eight
```
###Output example:
The corresponding output is given here. For example:
```out
28=1+2+4+7+14
```
answer:If there is no answer, please comment
n=int(input)
alist=[]
for i in range(1,n):
if n%i==0:
alist.append(i)
if n==sum(alist):
print("{}={}".format(n,"+".join(map(str,alist))))
###Input format:
For example, enter a positive integer 6
###Output format:
Output:
6=1+2+3
###Input example:
Here is a set of inputs. For example:
```in
six
```
###Output example:
The corresponding output is given here. For example:
```out
6=1+2+3
```
###Input example:
Here is a set of inputs. For example:
```in
twenty-eight
```
###Output example:
The corresponding output is given here. For example:
```out
28=1+2+4+7+14
```
answer:If there is no answer, please comment
n=int(input)
alist=[]
for i in range(1,n):
if n%i==0:
alist.append(i)
if n==sum(alist):
print("{}={}".format(n,"+".join(map(str,alist))))