#import main() { int N; scanf("%d",&N); printf("%d",(N%2)?N/2:N); }