-->
当前位置:首页 > 题库

PROGRAMMING:High five every seven

Luz5年前 (2021-05-10)题库433
A group of people sat in a circle and played the game of counting. The rules of the game are:
Start counting from 1. If you meet a multiple of 7 or a number with 7 digits, you will clap high five instead. If you make a mistake, you will be punished.
But these people are so smart that no one makes mistakes! What's the total number of high fives when you count to $$n $$?
####Input format
> $$n$$
####Output format
> $$c$$
####Input sample
```in
twenty-one
```
####Output sample
```out
four
```







answer:If there is no answer, please comment