import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    }
} import java.util.Scanner; Scanner java.util public class Main{
    public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    }
} Main public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    } main {
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    } final int PAGE = 2; PAGE 2 int inputFromKeyBoad; inputFromKeyBoad int min; min Scanner sc = new Scanner( System.in ); sc new Scanner( System.in ) inputFromKeyBoad = sc.nextInt() inputFromKeyBoad sc.nextInt() sc.nextInt sc min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE) min (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE) (inputFromKeyBoad / PAGE) inputFromKeyBoad PAGE (inputFromKeyBoad % PAGE) inputFromKeyBoad PAGE System.out.println( min ) System.out.println System.out System System.out min String[] args args public class Main{
    public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    }
} public class Main{
    public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    }
} Main
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        // 変数宣言
        final int PAGE = 2;
        int inputFromKeyBoad;
        int min;

        // 標準入力
        Scanner sc = new Scanner( System.in );
        inputFromKeyBoad = sc.nextInt();

        // 演算処理
        min = (inputFromKeyBoad / PAGE) + (inputFromKeyBoad % PAGE);

        // 出力
        System.out.println( min );
    }
}