Problem: Rajiv is given a problem in class. 
" Suppose N burnt candles together make a new candle. then how many new candles are created if we start with M candles"

Please refer to similar MCQ Question for clarification.

SAMPLE INPUT
121

SAMPLE OUTPUT
30

Solution (in PYTHON):

Solution:
M = input()
new = 0
count = 0
while M > 0:
	M -= 1
	count += 1
	if count == 5:
		new += 1
		M += 1
		count = 0

print new