# -*- coding: utf-8 -*- N = input() print (N/5+N/3)*2