#!/usr/bin/python
# -*- coding: utf-8 -*-

S = int(raw_input())
print  S / 2 * 2