print(int(input())&(~0x1))