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:
no_of_candles = input()
new_candles = 0
newCandles  = 0
while no_of_candles >= 5:
    new_candles = no_of_candles/ 5
    newCandles  += new_candles
    no_of_candles = no_of_candles % 5 + new_candles
print newCandles