PROGRAMMING:How many families are there
There are three people in some families, two people in some families, and only one person in some families. It is known that there are many people in a shopping mall. How many different families are there?
###Input format:
Enter the total number of people in the mall (a positive integer greater than or equal to 6 and less than or equal to 100)
###Output format:
It is required to output the number of various families from small to large in the order of 3-person family, 2-person family and 1-person family. Each line outputs one substitution:
Three = the number of three person families, two = the number of two person families, one = the number of one person families
###Input example:
Here is a set of inputs. For example:
```in
ten
```
###Output example:
The corresponding output is given here. For example:
```out
three=1,two=1,one=5
three=1,two=2,one=3
three=1,two=3,one=1
three=2,two=1,one=2
```
answer:If there is no answer, please comment
###Input format:
Enter the total number of people in the mall (a positive integer greater than or equal to 6 and less than or equal to 100)
###Output format:
It is required to output the number of various families from small to large in the order of 3-person family, 2-person family and 1-person family. Each line outputs one substitution:
Three = the number of three person families, two = the number of two person families, one = the number of one person families
###Input example:
Here is a set of inputs. For example:
```in
ten
```
###Output example:
The corresponding output is given here. For example:
```out
three=1,two=1,one=5
three=1,two=2,one=3
three=1,two=3,one=1
three=2,two=1,one=2
```
answer:If there is no answer, please comment