import sequtils,strutils var N = stdin.readline.parseBiggestInt cnt : int64 cnt += (N div 3) * 2 cnt += (N div 5) * 2 echo cnt