Files
PS/boj/14916.py
Gyubin Han 2600340c03 first commit
from old repository to a new repository
2024-04-30 16:59:10 +09:00

11 lines
124 B
Python

n=int(input())
count=0
while n>0 and not n%5==0:
count+=1
n-=2
if n>-1 and n%5==0:
print((n//5)+count)
else:
print(-1)