PROGRAMMING:Numbers independent of 7
###Task description
```
A positive integer is said to be related to 7 if it can be divided by 7, or if the number on a certain bit in its decimal representation is 7. Now we find the sum of squares of all positive integers less than or equal to n (n < 100) which are independent of 7
```
###Input format:
```
Input as one line, positive integer n (n < 100)
```
###Output format:
```
The output line contains an integer, that is, the sum of the squares of all 7 independent positive integers less than or equal to n.
```
###Input example:
```in
twenty-one
```
###Output example:
```out
two thousand three hundred and thirty-six
```
###Title Source
Selected from openjudge website, online address: http://sdau.openjudge.cn/c/011/
answer:If there is no answer, please comment
```
A positive integer is said to be related to 7 if it can be divided by 7, or if the number on a certain bit in its decimal representation is 7. Now we find the sum of squares of all positive integers less than or equal to n (n < 100) which are independent of 7
```
###Input format:
```
Input as one line, positive integer n (n < 100)
```
###Output format:
```
The output line contains an integer, that is, the sum of the squares of all 7 independent positive integers less than or equal to n.
```
###Input example:
```in
twenty-one
```
###Output example:
```out
two thousand three hundred and thirty-six
```
###Title Source
Selected from openjudge website, online address: http://sdau.openjudge.cn/c/011/
answer:If there is no answer, please comment