Jonathan surrounded by his friends.
Jonathan has a letter he wants to hand out among his group of friends. Within this group, certain people share everything with each other. Specifically, if Jonathan has friends and he were to label each of them from to , his friend would share everything with all his other friends who are multiples of . This applies to every friend except who likes to keep to himself. Since Jonathan is lazy, he would like to know the minimum amount of letters he would have to hand out for every friend to see it. Can you help Jonathan out?
Input Specifications
A single integer .
Output Specifications
The minimum number of letters Jonathan has to hand out.
Sample Input
5
Sample Output
4
Comments