C programming/BAEKJOON
N=int(input()) box=0 while True: if N%5==0: box=box+N//5 print(box) break N=N-3 box=box+1 if N<0: print("-1") break