#include <stdio.h>
2
​
3
int main(){
4
  int N;
5
  scanf("%d",&N);
6
  if(N%2==0){ 
7
  
8
  printf("%d\n",N/2);
9
  }else{
10
    
11
    N=N+1;
12
    printf("%d\n",N/2);
13
  }   
14
 return 0;   
15
}    
16
    
※ 512 