Problem3461--余数 - 13

3461: 余数 - 13

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

有40根跳绳,至少拿走多少根,才能使6个班每班分得的跳绳一样多?

Input

输入一个整数

Output

输出结果

Sample Input Copy

40

Sample Output Copy

4

Source/Category