if __name__ == '__main__': N = input() print (N / 3 + N / 5) * 2