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:
candles = int(raw_input())

burnt=0
newcandles=0
while candles!=0:
	burnt+=candles%5
	candles=candles//5
	while burnt>=5:
		burnt-=5
		candles+=1
	newcandles+=candles
print newcandles