import math n=int(input()) print(math.floor((n/5+n/3)*2))