#!/usr/bin/python # -*- coding: utf-8 -*- N = int(raw_input()) if N % 2 == 1: print 3.5 * N else: print int(3.5 * N)