#!/usr/bin/python3 # This problem is http://yukicoder.me/problems/391 first_line = input() number = int(first_line) print(int(number / 2) * 2)